Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmetic changes in attempt to make the code structure clearer #317

Open
wants to merge 3 commits into
base: dev_api
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/make_tracks_file → bin/make_tracks_config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pygenometracks.makeTracksFile import main
from pygenometracks.makeTracksConfig import main

if __name__ == "__main__":
main()
File renamed without changes.
6 changes: 3 additions & 3 deletions pygenometracks/tracksClass.py → pygenometracks/tracks/tracksClass.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
import matplotlib.gridspec
import matplotlib.cm
import mpl_toolkits.axisartist as axisartist
from . utilities import file_to_intervaltree, change_chrom_names
from .. utilities import file_to_intervaltree, change_chrom_names
from collections import OrderedDict
from pygenometracks.tracks.GenomeTrack import GenomeTrack
from pygenometracks.utilities import InputError
from . GenomeTrack import GenomeTrack
from .. utilities import InputError

import warnings

Expand Down
3 changes: 1 addition & 2 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
__version__ = '%s'
"""


def update_version_py():
if not os.path.isdir(".git"):
print("This does not appear to be a Git repository.")
Expand Down Expand Up @@ -108,7 +107,7 @@ def checkProgramIsInstalled(self, program, args, where_to_download,
version=get_version(),
author='Lucille Lopez-Delisle, Leily Rabbani, Joachim Wolf, Björn Grüning',
packages=find_packages(exclude=['tests']),
scripts=['bin/make_tracks_file', 'bin/pgt', 'bin/pyGenomeTracks'],
scripts=['bin/make_tracks_config', 'bin/pgt', 'bin/pyGenomeTracks'],
include_package_data=True,
package_dir={'pygenometracks': 'pygenometracks'},
url='http://pygenometracks.readthedocs.io',
Expand Down