c1c5544326a7e2eb080101cf2ca29707b5e41736,lib/python/cellranger/rna/feature_ref.py,,parse_feature_def_file,#,300
Before Change
if "\t" in row["name"]:
raise FeatureDefException("Feature name field cannot contain tabs: "%s"" % row["name"])
if " " in row["id"] or "\t" in row["id"]:
raise FeatureDefException("Feature id field cannot contain whitespace: "%s"" % row["id"])
// Additional columns become key-value pairs
// Maintain input order
tag_cols = [c for c in reader.fieldnames if c not in BASE_FEATURE_FIELDS and c in row]
tags = OrderedDict()
for key in tag_cols:
After Change
if "\t" in row["name"]:
raise FeatureDefException("Feature name field cannot contain tabs: "%s"" % row["name"])
allowed_id_chars = set(string.printable) - set(string.whitespace) - set("/,\""\\`")
for (idx, c) in enumerate(row["id"]):
if not c in allowed_id_chars:
if c in string.whitespace:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: 10XGenomics/cellranger
Commit Name: c1c5544326a7e2eb080101cf2ca29707b5e41736
Time: 2019-02-20
Author: patrick@10xgenomics.com
File Name: lib/python/cellranger/rna/feature_ref.py
Class Name:
Method Name: parse_feature_def_file
Project Name: logpai/loglizer
Commit Name: 7c960272c5ab4d25a022538f5849addec3e6bfee
Time: 2019-02-25
Author: zhujm.home@gmail.com
File Name: loglizer/preprocessing.py
Class Name: FeatureExtractor
Method Name: transform
Project Name: Logan1x/Python-Scripts
Commit Name: 2ef5c047b4296a807eea8366f67d7f271f0d47de
Time: 2020-06-28
Author: 59202862+Monsieurvishal@users.noreply.github.com
File Name: bin/password-strength-checker.py
Class Name:
Method Name: pass1