f25d9afd2572b98c56c3f597ad8da2648cd7b663,stanza/utils/training/common.py,,main,#Any#Any#Any#,21
Before Change
paths = default_paths.get_default_paths()
args = sys.argv[1:]
if args[0].startswith("--"):
mode = Mode[args[0][2:].upper()]
args = args[1:]
else:
mode = Mode.TRAIN
After Change
if "--extra_args" in sys.argv:
idx = sys.argv.index("--extra_args")
extra_args = sys.argv[idx+1:]
command_args = parser.parse_args(sys.argv[:idx])
else:
command_args, extra_args = parser.parse_known_args()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: stanfordnlp/stanza
Commit Name: f25d9afd2572b98c56c3f597ad8da2648cd7b663
Time: 2020-12-01
Author: horatio@gmail.com
File Name: stanza/utils/training/common.py
Class Name:
Method Name: main
Project Name: MolSSI/QCEngine
Commit Name: 8e06c0870f27b4959cc2627a4a9e6ad14c0d5d40
Time: 2019-03-15
Author: lori.burns@gmail.com
File Name: qcengine/programs/dftd3/runner.py
Class Name:
Method Name: dftd3_harvest
Project Name: AlexsLemonade/refinebio
Commit Name: 3f7b5cd3bfb09caeb3c33cb4c9b549431348bb1c
Time: 2019-02-27
Author: kurt.wheeler91@gmail.com
File Name: common/data_refinery_common/models/models.py
Class Name: OriginalFile
Method Name: is_CEL_file