diff --git a/jbrowse_jupyter/tracks.py b/jbrowse_jupyter/tracks.py index 90d5624..a5a627d 100644 --- a/jbrowse_jupyter/tracks.py +++ b/jbrowse_jupyter/tracks.py @@ -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)