Skip to content

Commit

Permalink
Merge pull request #229 from broadinstitute/update_nan
Browse files Browse the repository at this point in the history
Update utils.smk
  • Loading branch information
mayasheth authored Jul 8, 2024
2 parents 875043f + b146f3c commit c08adc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/utils.smk
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def determine_filtered_prediction_file_format(threshold, config):
def load_biosamples_config(config):
biosamples_config = pd.read_csv(
config["biosamplesTable"], sep="\t", na_values=""
).replace([np.NaN], [None]).set_index("biosample", drop=False)
).replace([np.nan], [None]).set_index("biosample", drop=False)
biosamples_config["HiC_resolution"] = biosamples_config["HiC_resolution"].replace([None], [0]).astype(int)
_validate_biosamples_config(biosamples_config)
_configure_tss_and_gene_files(biosamples_config)
Expand Down

0 comments on commit c08adc3

Please sign in to comment.