Skip to content

Commit

Permalink
updated to change name of library-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiernan committed Sep 23, 2024
1 parent fa7bc27 commit 0430346
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tools/scripts/add_library_tso_doublets.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,7 @@ def process_gex_data(gex_h5ad_modified, gex_nhash_id, library_csv, input_id, dou
dictionary = {key: [value] for key, value in dictionary.items()}
new_dictionary.update(dictionary)
new_dictionary = pd.DataFrame(new_dictionary)
new_dictionary.transpose().to_csv(f"{input_id}_{gex_nhash_id}_library_metrics.csv", header=None)
if gex_nhash_id is not None:
new_dictionary.transpose().to_csv(f"{input_id}_{gex_nhash_id}_library_metrics.csv", header=None)
else:
new_dictionary.transpose().to_csv(f"{input_id}_library_metrics.csv", header=None)
new_dictionary.transpose().to_csv("library_metrics.csv", header=None)
return gex_data


Expand Down

0 comments on commit 0430346

Please sign in to comment.