Skip to content

Commit 9e75276

Browse files
authored
Merge pull request #207 from Jhsmit/versioneer
Update to versioneer
2 parents 4b70cbe + c0d81d3 commit 9e75276

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3353
-569
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyhdx/_version.py export-subst

.github/workflows/pypi_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
uses: actions/setup-python@v2
1616
with:
1717
python-version: 3.8
18+
- name: Set up Node
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: '14'
1822
- name: Build
1923
run: |
2024
pip install wheel
File renamed without changes.

MANIFEST.in

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
include AUTHORS.rst
2-
include CONTRIBUTING.rst
3-
include HISTORY.rst
4-
include LICENSE
5-
include README.rst
6-
7-
recursive-include tests *
8-
recursive-exclude * __pycache__
9-
recursive-exclude * *.py[co]
10-
11-
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
1+
include AUTHORS.rst
2+
include CONTRIBUTING.rst
3+
include HISTORY.rst
4+
include LICENSE.txt
5+
include README.rst
6+
7+
recursive-include tests *
8+
recursive-exclude * __pycache__
9+
recursive-exclude * *.py[co]
10+
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
11+
12+
include versioneer.py
13+
include pyhdx/_version.py
14+
include pyhdx/web/*.html
15+
include pyhdx/web/*.ts
16+
include pyhdx/web/bokeh_extensions/*.ts
17+
graft pyhdx/web/dist
18+
graft pyhdx/web/static

dev/bokeh_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from panel.widgets.base import Widget
1313
import param
1414
from pathlib import Path
15-
from pyhdx.panel.base import STATIC_DIR
15+
from pyhdx.web.base import STATIC_DIR
1616

1717

1818
TS_CODE = """

dev/gui/dev_gui_matrix.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from pyhdx.fileIO import read_dynamx, txt_to_np
77
from pyhdx import PeptideMasterTable
88
import pickle
9-
from pyhdx.panel.apps import _color_matrix_app
10-
from pyhdx.panel.utils import reload_previous
11-
from pyhdx.panel.base import DEFAULT_COLORS, STATIC_DIR
12-
from pyhdx.panel.sources import DataSource
9+
from pyhdx.web.apps import _color_matrix_app
10+
from pyhdx.web.utils import reload_previous
11+
from pyhdx.web.base import DEFAULT_COLORS, STATIC_DIR
12+
from pyhdx.web.sources import DataSource
1313
import panel as pn
1414
import numpy as np
1515
from pathlib import Path

dev/gui/dev_gui_secB.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
44
"""
55

6-
from pyhdx.fileIO import read_dynamx, txt_to_np, csv_to_dataframe
6+
from pyhdx.fileIO import read_dynamx, csv_to_dataframe
77
from pyhdx import PeptideMasterTable
88
import pickle
9-
from pyhdx.panel.apps import main_app
10-
from pyhdx.panel.utils import reload_previous
11-
from pyhdx.panel.base import DEFAULT_COLORS, STATIC_DIR
12-
from pyhdx.panel.sources import DataSource
9+
from pyhdx.web.apps import main_app
10+
from pyhdx.web.utils import reload_previous
11+
from pyhdx.web.base import DEFAULT_COLORS, STATIC_DIR
12+
from pyhdx.web.sources import DataSource
1313
from pyhdx.batch_processing import load_from_yaml
1414
from pyhdx.fileIO import csv_to_protein
1515
import panel as pn
@@ -124,7 +124,7 @@ def init_dashboard():
124124

125125

126126
#if __name__ == '__main__':
127-
pn.state.onload(reload_dashboard)
127+
#pn.state.onload(reload_dashboard)
128128
#pn.state.onload(init_dashboard)
129129

130130
pn.serve(ctrl.template, show=True

dev/gui/dev_gui_secB_diff.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from pyhdx import PeptideMasterTable
77
import pickle
88
import os
9-
from pyhdx.panel.apps import _diff_app
10-
from pyhdx.panel.utils import reload_previous
11-
from pyhdx.panel.base import DEFAULT_COLORS
12-
from pyhdx.panel.sources import DataSource
9+
from pyhdx.web.apps import _diff_app
10+
from pyhdx.web.utils import reload_previous
11+
from pyhdx.web.base import DEFAULT_COLORS
12+
from pyhdx.web.sources import DataSource
1313
import panel as pn
1414
import numpy as np
1515
from pathlib import Path

dev/gui/dev_gui_secB_single.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
from pyhdx import PeptideMasterTable
77
import pickle
88
import os
9-
from pyhdx.panel.apps import _single_app
10-
from pyhdx.panel.utils import reload_previous
11-
from pyhdx.panel.base import DEFAULT_COLORS, STATIC_DIR
12-
from pyhdx.panel.sources import DataSource
9+
from pyhdx.web.apps import _single_app
10+
from pyhdx.web.utils import reload_previous
11+
from pyhdx.web.base import DEFAULT_COLORS, STATIC_DIR
12+
from pyhdx.web.sources import DataSource
1313
import panel as pn
1414
import numpy as np
1515
from pathlib import Path

dev/gui/dev_gui_simulated.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from pyhdx.panel.utils import reload_previous
1+
from pyhdx.web.utils import reload_previous
22
from pyhdx.support import np_from_txt
33
import os
44
import numpy as np
5-
from pyhdx.panel.base import DEFAULT_COLORS
6-
from pyhdx.panel.main import tmpl, ctrl
5+
from pyhdx.web.base import DEFAULT_COLORS
6+
from pyhdx.web.main import tmpl, ctrl
77
import panel as pn
88
import pickle
99

0 commit comments

Comments
 (0)