mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 02:18:12 +08:00
allow hyphen in annotation file name (#1074)
* remove old detritus * allow hyphen in label file name
This commit is contained in:
@@ -17,7 +17,6 @@ def read_labels(fname):
|
||||
def write_labels(fname, df, header=None, backup_dir=None):
|
||||
if backup_dir is not None:
|
||||
backup(fname, backup_dir)
|
||||
# rotate_fname(fname, backup_dir)
|
||||
if not df.empty:
|
||||
with open(fname, "w", newline="") as f:
|
||||
if header is not None:
|
||||
|
||||
Reference in New Issue
Block a user