mutts 1.0.3__py3-none-any.whl → 1.0.4__py3-none-any.whl
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.
mutts/retriever.py
CHANGED
|
@@ -120,7 +120,7 @@ class MetadataRetriever:
|
|
|
120
120
|
all_sample_data_df = pd.concat(sample_data_dfs, ignore_index=True)
|
|
121
121
|
# Merge the combined sample data with df on samp_name
|
|
122
122
|
if not df.empty and not all_sample_data_df.empty:
|
|
123
|
-
df = pd.merge(df, all_sample_data_df, on="samp_name", how="
|
|
123
|
+
df = pd.merge(df, all_sample_data_df, on="samp_name", how="left")
|
|
124
124
|
|
|
125
125
|
# Auto-fill depth with 0 for JGI facilities if no value is provided
|
|
126
126
|
if self.user_facility in ["jgi_mg", "jgi_mt", "jgi_mg_lr"]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mutts
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Metadata for User facility Template Transformations
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: NMDC,US DOE user facilities,metadata translation
|
|
@@ -31,6 +31,7 @@ Description-Content-Type: text/markdown
|
|
|
31
31
|
- [MUTTs User Documentation](#mutts-user-documentation)
|
|
32
32
|
- [Prerequisites](#prerequisites)
|
|
33
33
|
- [Installation](#installation)
|
|
34
|
+
- [Updating to the Latest Version](#updating-to-the-latest-version)
|
|
34
35
|
- [Usage](#usage)
|
|
35
36
|
- [Example 1: Generate a JGI Metagenome spreadsheet](#example-1-generate-a-jgi-metagenome-spreadsheet)
|
|
36
37
|
- [Example 2: Generate a JGI Metagenome v15 spreadsheet](#example-2-generate-a-jgi-metagenome-v15-spreadsheet)
|
|
@@ -99,6 +100,24 @@ Download the mapper files you need from the [input-files directory](https://gith
|
|
|
99
100
|
- For JGI Metagenome: `jgi_mg_header.json` or `jgi_mg_header_v15.json`
|
|
100
101
|
- For JGI Metatranscriptome: `jgi_mt_header.json` or `jgi_mt_header_v15.json`
|
|
101
102
|
|
|
103
|
+
### Updating to the Latest Version
|
|
104
|
+
|
|
105
|
+
To ensure you have the latest features and bug fixes, you can upgrade the MUTTs package from PyPI:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
pip install --upgrade mutts
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
To check your currently installed version:
|
|
112
|
+
```bash
|
|
113
|
+
pip show mutts
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
You can also install a specific version if needed:
|
|
117
|
+
```bash
|
|
118
|
+
pip install mutts==<version>
|
|
119
|
+
```
|
|
120
|
+
|
|
102
121
|
### Usage
|
|
103
122
|
|
|
104
123
|
Run the `mutts` command with the required options:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
mutts/__init__.py,sha256=iTcKOq5Id9qudNWyTGPJyJGuS19yG-FhPlmSfuJM7jU,217
|
|
2
2
|
mutts/cli.py,sha256=YzRnMLEtbFc2yuAYqWoljvk0Z9IEHDw3XefjTZE8Rbg,4912
|
|
3
|
-
mutts/retriever.py,sha256=
|
|
3
|
+
mutts/retriever.py,sha256=EndVTzjFk5uDj9g8vCgYPqzD0Qgig99Tc0Gs49jz4UM,8332
|
|
4
4
|
mutts/spreadsheet.py,sha256=hSEEkTcTmkEFsktGG1_s4gAPuDys9Dnzbdk9cfJKwcY,5053
|
|
5
5
|
mutts/static-excel-tabs/JGI.Metagenome.NA.v15.xlsx,sha256=tYlYX5QZVjiiCrsCsxfL73O0BdvlqttBjUyqXsv8s7s,22099
|
|
6
|
-
mutts-1.0.
|
|
7
|
-
mutts-1.0.
|
|
8
|
-
mutts-1.0.
|
|
9
|
-
mutts-1.0.
|
|
6
|
+
mutts-1.0.4.dist-info/METADATA,sha256=SCAJLFcNfMGOjxoWVLc7JnP6_BXflo6TWCRGZLKyrWo,9341
|
|
7
|
+
mutts-1.0.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
8
|
+
mutts-1.0.4.dist-info/entry_points.txt,sha256=rDp08H4MnNWGYHFE6ZAqOocRyTp68IPJsjXTcQppi8s,39
|
|
9
|
+
mutts-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|