Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinebridge committed Dec 13, 2023
1 parent 7f91afa commit ef714ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbrowse_jupyter/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def check_columns(df):
"value": "score"
}
# assigns arbitrary name to name column if it doesn't exist for a feature track from df
if not 'name' in df:
if 'name' not in df:
df['name'] = 'feature' + df.index.astype(str)
df.rename(mapper=mapper, axis=1, inplace=True)
return all(col in df for col in required)
Expand Down

0 comments on commit ef714ae

Please sign in to comment.