6a353cb29c2c5e7a4a8ef0089c3ac0083ffa781d max Fri Jun 20 06:27:24 2025 -0700 typo fix diff --git src/cbPyLib/cellbrowser/cellbrowser.py src/cbPyLib/cellbrowser/cellbrowser.py index 09b85a4..d0905fd 100755 --- src/cbPyLib/cellbrowser/cellbrowser.py +++ src/cbPyLib/cellbrowser/cellbrowser.py @@ -4792,31 +4792,31 @@ coordDf.to_csv(fname,sep='\t') desc.append( {'file':fileBase, 'shortLabel': fullName} ) return coordFields def writeCellbrowserConf(name, coordsList, fname, addMarkers=True, args={}): checkDsName(name) metaFname = args.get("meta", "meta.tsv") clusterField = args.get("clusterField", "Louvain Cluster") coordStr = json.dumps(coordsList, indent=4) matrixFname = args.get("exprMatrix", "exprMatrix.tsv.gz") cmdLine = " ".join(sys.argv) - dateStr = datetime.now().isoformat() + dateStr = datetime.datetime.now().isoformat() conf = """ # This is a bare-bones, auto-generated Cell Browser config file. # Look at https://github.com/maximilianh/cellBrowser/blob/master/src/cbPyLib/cellbrowser/sampleConfig/cellbrowser.conf # for a list of possible options # You can also write a default template into the current directory with cbBuild --init # Command was: %(cmdLine)s # Time: %(dateStr)s name='%(name)s' shortLabel='%(name)s' exprMatrix='%(matrixFname)s' #tags = ["10x", 'smartseq2'] meta='%(metaFname)s' geneIdType='auto' defColorField='%(clusterField)s'