taxontabletools2 2.3.3__tar.gz → 2.3.4__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.
- {taxontabletools2-2.3.3/taxontabletools2.egg-info → taxontabletools2-2.3.4}/PKG-INFO +1 -1
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/setup.py +1 -1
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/taxontabletools_2.0.py +6 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4/taxontabletools2.egg-info}/PKG-INFO +1 -1
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/LICENSE +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/MANIFEST.in +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/README.md +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/setup.cfg +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/EFI.R +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/diathor.R +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/.DS_Store +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/efiminus.R +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/internal.zip +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/WFD_conversion/.DS_Store +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/WFD_conversion/efi_ecoregions.png +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/WFD_conversion/efi_table.xlsx +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/__init__.py +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/__main__.py +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/read_table_example.xlsx +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/taxonomy_table_example.xlsx +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/user_preferences.xlsx +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/SOURCES.txt +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/dependency_links.txt +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/entry_points.txt +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/requires.txt +0 -0
- {taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: taxontabletools2
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Taxontabletools2 - A comprehensive, platform-independent graphical user interface software to explore and visualise DNA metabarcoding data
|
|
5
5
|
Home-page: https://pypi.org/project/taxontabletools2
|
|
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="taxontabletools2",
|
|
8
|
-
version="2.3.
|
|
8
|
+
version="2.3.4",
|
|
9
9
|
author="Till-Hendrik Macher",
|
|
10
10
|
author_email="macher@uni-trier.de",
|
|
11
11
|
description="Taxontabletools2 - A comprehensive, platform-independent graphical user interface software to explore and visualise DNA metabarcoding data",
|
|
@@ -257,6 +257,12 @@ def export_taxon_table(table_display_name, df_taxon_table, df_metadata_table, su
|
|
|
257
257
|
seq_loc = df_taxon_table.columns.tolist().index('Seq')
|
|
258
258
|
samples = df_taxon_table.columns.tolist()[seq_loc+1::]
|
|
259
259
|
|
|
260
|
+
# Fix mixed cols
|
|
261
|
+
mixed_cols = [col for col in df_taxon_table.columns if df_taxon_table[col].apply(type).nunique() > 1]
|
|
262
|
+
df_taxon_table[mixed_cols] = df_taxon_table[mixed_cols].astype(str)
|
|
263
|
+
mixed_cols = [col for col in df_metadata_table.columns if df_metadata_table[col].apply(type).nunique() > 1]
|
|
264
|
+
df_metadata_table[mixed_cols] = df_metadata_table[mixed_cols].astype(str)
|
|
265
|
+
|
|
260
266
|
## Calculate the number of empty OTUs
|
|
261
267
|
empty_otus_count = (~(df_taxon_table[samples] != 0).any(axis=1)).sum()
|
|
262
268
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: taxontabletools2
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.4
|
|
4
4
|
Summary: Taxontabletools2 - A comprehensive, platform-independent graphical user interface software to explore and visualise DNA metabarcoding data
|
|
5
5
|
Home-page: https://pypi.org/project/taxontabletools2
|
|
6
6
|
Author: Till-Hendrik Macher
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/.DS_Store
RENAMED
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/efiminus.R
RENAMED
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/Rscripts/internal/internal.zip
RENAMED
|
File without changes
|
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/WFD_conversion/efi_ecoregions.png
RENAMED
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/WFD_conversion/efi_table.xlsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2/taxonomy_table_example.xlsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{taxontabletools2-2.3.3 → taxontabletools2-2.3.4}/taxontabletools2.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|