Skip to content

Commit

Permalink
Update to ms-mint 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenwacker committed Mar 1, 2023
1 parent 00c4703 commit eac777e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
Empty file modified entrypoint.sh
100755 → 100644
Empty file.
6 changes: 6 additions & 0 deletions ms_mint_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
matplotlib.use("Agg")

import dash

from dash import html, dcc

from dash.dependencies import Input, Output, State
Expand All @@ -23,6 +24,7 @@
from flask_caching import Cache
from flask_login import current_user

import ms_mint

from . import tools as T

Expand All @@ -33,6 +35,7 @@
from . import peak_optimization
from . import processing
from . import add_metab
from . import quality_control
from . import analysis
from . import messages

Expand Down Expand Up @@ -68,6 +71,7 @@ def make_dirs():
add_metab,
peak_optimization,
processing,
quality_control,
analysis,
]

Expand Down Expand Up @@ -234,6 +238,8 @@ def upate_tmpdir(x):

def create_app(**kwargs):

logging.warning(f'ms-mint: {ms_mint.__version__}, ({ms_mint.__file__})')

app = dash.Dash(
__name__,
external_stylesheets=[
Expand Down
1 change: 0 additions & 1 deletion ms_mint_app/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def create_pca(
with sns.plotting_context("paper"):
mint.pca.plot.pairplot(
labels=labels,
n_vars=n_components,
height=facet_height,
corner="Corner" in options,
)
Expand Down
2 changes: 1 addition & 1 deletion ms_mint_app/peak_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def pko_optimise_rt_min_ma_for_all_targets(n_clicks, ms_selection, wdir):
mint = Mint()
mint.targets = targets.reset_index()
mint.ms_files = ms_files
mint.opt.find_rt_min_max()
mint.opt.rt_min_max()
new_targets = mint.targets

T.write_targets(new_targets, wdir)
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ms-mint==0.1.8.3
ms-mint==0.2.0
xlsxwriter
waitress
dash
Expand All @@ -15,3 +15,4 @@ email_validator
Flask-Caching==1.10.1
beautifulsoup4
pandas>=1.4,<1.5
packaging==21.3.0
Empty file modified setup.cfg
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions setup.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


install_requires = [
"ms-mint==0.1.8.3",
"ms-mint==0.2.0",
"xlsxwriter",
"waitress",
"dash",
Expand All @@ -17,7 +17,7 @@
"flask_login",
"urllib3",
"dash_tabulator",
"dash_uploader==0.7.0a1",
"dash_uploader",
]


Expand Down

0 comments on commit eac777e

Please sign in to comment.