f7e6a5c544859ce6b0d6626e2f815b2db0c7813a,src/biotite/sequence/io/genbank/annotation.py,,get_annotation,#Any#Any#,24
Before Change
// Qualifier key
// -> remove "/" and "="
// "=" is not existing in e.g. "/pseudo"
qual_key = qual[1:].replace("=", "")
else:
// Qualifier value
// -> remove potential quotes
if qual[0] == """:
After Change
//
// -> split at whitespaces,
// as keys do not contain whitespaces
for subpart in part.split():
print(subpart)
if not "=" in subpart:
// Qualifier without value, e.g. "/pseudo"
// -> store immediately
// Remove "/" -> subpart[1:]
qual_key = subpart[1:]
_set_qual(qual_dict, qual_key, None)
qual_key = None
else:
// Regular qualifier
// -> store key in variable and wait for
// next qualifier part to set the value
// Remove "/" and "=" -> subpart[1:-1]
qual_key = subpart[1:-1]
else:
// This is a qualifier value
// -> remove potential quotes
if part[0] == """:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: biotite-dev/biotite
Commit Name: f7e6a5c544859ce6b0d6626e2f815b2db0c7813a
Time: 2019-11-13
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/genbank/annotation.py
Class Name:
Method Name: get_annotation
Project Name: tensorflow/tensorflow
Commit Name: 3d03ae2086b232cb6803507ae4defd997c256ec9
Time: 2020-11-18
Author: crccw@google.com
File Name: tensorflow/python/distribute/multi_process_lib.py
Class Name:
Method Name: _set_spawn_exe_path
Project Name: jaakkopasanen/AutoEq
Commit Name: 5798262e2f9d254f37cbe762f89747b7049a8acc
Time: 2020-10-18
Author: jaakko.o.pasanen@gmail.com
File Name: measurements/crinacle/crinacle_crawler.py
Class Name: CrinacleCrawler
Method Name: get_urls