Skip to content

Commit

Permalink
Fix a couple static analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed May 31, 2024
1 parent 7ba30ab commit 5ef8796
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/sample_registry/test/test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def test_look_up_nextera_barcodes():
t = SampleTable.load(input_file)
t.look_up_nextera_barcodes()
assert t.recs[1]["BarcodeSequence"] == "ACTCGCTA-TATCCTCT"
assert t.validate() == None
assert t.validate() is None
2 changes: 0 additions & 2 deletions app/sample_registry/test/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import io
import os
import pytest
import shutil
import tempfile
from sqlalchemy import and_, create_engine, select
from sqlalchemy.orm import Session, sessionmaker
Expand Down Expand Up @@ -224,7 +223,6 @@ def test_register_annotations(db, temp_sample_file, temp_modified_sample_file):

def test_unregister_samples(db, temp_sample_file):
register_run(run_args, db)
out = io.StringIO()
sample_file = temp_sample_file
args = ["3", sample_file.name]
register_sample_annotations(args, True, db)
Expand Down

0 comments on commit 5ef8796

Please sign in to comment.