apscale-gui 3.3.2__tar.gz → 3.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apscale_gui
3
- Version: 3.3.2
3
+ Version: 3.4.0
4
4
  Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
5
5
  Home-page: https://github.com/TillMacher/apscale_gui
6
6
  Author: Till-Hendrik Macher
@@ -139,8 +139,9 @@ def check_package_update_disp(packages):
139
139
  for pkg in packages:
140
140
  installed_version = importlib.metadata.version(pkg)
141
141
  checker = UpdateChecker()
142
- result = checker.check(pkg, installed_version)
142
+ result = checker.check(package_name=pkg, package_version=installed_version)
143
143
  if result:
144
+ print(f'\n{result}\n$ pip install --upgrade {pkg}\n')
144
145
  st.sidebar.info(f'{result}\n\n$ pip install --upgrade {pkg}')
145
146
 
146
147
  def get_package_versions_disp(pkg):
@@ -1113,11 +1114,11 @@ def main():
1113
1114
  st.selectbox(label='Task', key='task', options=['blastn', 'megablast', 'dc-megablast'], index=1)
1114
1115
  st.text_input(label='max_target_seqs', key='max_target_seqs', value=20)
1115
1116
  # Database & query
1116
- available_databases = {Path(i).name:Path(i) for i in glob.glob(str(path_to_projects / 'APSCALE_databases' / '*'))}
1117
+ available_databases = {Path(i).name: Path(i) for i in glob.glob(str(path_to_projects / 'APSCALE_databases' / '*')) if Path(i).is_dir()}
1117
1118
  available_fasta_files = {Path(i).name:Path(i) for i in glob.glob(str(project_folder / '11_read_table' / 'data' / '*.fasta'))}
1118
1119
  with st.expander("🗄️ Database & Query", expanded=False):
1119
- st.selectbox(label='Database', key='database', options=list(available_databases.keys()))
1120
- st.selectbox(label='Query FASTA', key='query_fasta', options=list(available_fasta_files.keys()))
1120
+ st.selectbox(label='Database', key='database', options=sorted(available_databases.keys()))
1121
+ st.selectbox(label='Query FASTA', key='query_fasta', options=sorted(available_fasta_files.keys()))
1121
1122
  # Thresholds
1122
1123
  with st.expander("⚖️ Thresholds", expanded=False):
1123
1124
  col1, col2 = st.columns(2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apscale_gui
3
- Version: 3.3.2
3
+ Version: 3.4.0
4
4
  Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
5
5
  Home-page: https://github.com/TillMacher/apscale_gui
6
6
  Author: Till-Hendrik Macher
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="apscale_gui",
8
- version="3.3.2",
8
+ version="3.4.0",
9
9
  author="Till-Hendrik Macher",
10
10
  author_email="macher@uni-trier.de",
11
11
  description="Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface",
File without changes
File without changes
File without changes
File without changes