e4c330615d355c6bbcef72a4358411e5718f25d3,ilastik.py,,main,#,60

Before Change


    parsed_args, workflow_cmdline_args = ilastik_main.parse_known_args()
    
    // allow to start-up by double-clicking an ".ilp" file
    if len(workflow_cmdline_args) == 1 and \
       workflow_cmdline_args[0].endswith(".ilp") and \
       parsed_args.project is None:
            parsed_args.project = workflow_cmdline_args[0]

After Change


        _clean_paths( ilastik_dir )

    // Allow to start-up by double-clicking a project file.
    if len(sys.argv) == 2 and sys.argv[1].endswith(".ilp"):
        sys.argv.insert(1, "--project")

    import ilastik_main
    parsed_args, workflow_cmdline_args = ilastik_main.parse_known_args()

    hShell = ilastik_main.main(parsed_args, workflow_cmdline_args)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: e4c330615d355c6bbcef72a4358411e5718f25d3
Time: 2019-01-07
Author: emilmelnikov@gmail.com
File Name: ilastik.py
Class Name:
Method Name: main


Project Name: nilearn/nilearn
Commit Name: aa31c60145c67ba8cf510c183f81f915dcb85e1c
Time: 2014-12-10
Author: loic.esteve@ymail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: biolab/orange3
Commit Name: 356d7f530c0502678de0771397fd1232fce06a50
Time: 2016-09-16
Author: kerncece@gmail.com
File Name: Orange/canvas/application/outputview.py
Class Name: ExceptHook
Method Name: __call__