Skip to content

from __future__ imports must occur at the beginning of the file #13

@complexgenome

Description

@complexgenome

git clone https://github.com/medvedevgroup/varmatch.git
cd varmatch
make all

I try to run tool to see help:


./varmatch -h
  File "./varmatch", line 24
    from __future__ import print_function
SyntaxError: from __future__ imports must occur at the beginning of the file

Python 2.7.13

uname -a
Linux hgrcgridlogin 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux

gcc version 6.3.0 20170516 (Debian 6.3.0-18)

edited:
Following lines from script/vardiff file work in python shell:


from __future__ import print_function
import sys
import textwrap as _textwrap
import argparse
import os


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions