mutts 1.0.3__tar.gz → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mutts
3
- Version: 1.0.3
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:
@@ -7,6 +7,7 @@
7
7
  - [MUTTs User Documentation](#mutts-user-documentation)
8
8
  - [Prerequisites](#prerequisites)
9
9
  - [Installation](#installation)
10
+ - [Updating to the Latest Version](#updating-to-the-latest-version)
10
11
  - [Usage](#usage)
11
12
  - [Example 1: Generate a JGI Metagenome spreadsheet](#example-1-generate-a-jgi-metagenome-spreadsheet)
12
13
  - [Example 2: Generate a JGI Metagenome v15 spreadsheet](#example-2-generate-a-jgi-metagenome-v15-spreadsheet)
@@ -75,6 +76,24 @@ Download the mapper files you need from the [input-files directory](https://gith
75
76
  - For JGI Metagenome: `jgi_mg_header.json` or `jgi_mg_header_v15.json`
76
77
  - For JGI Metatranscriptome: `jgi_mt_header.json` or `jgi_mt_header_v15.json`
77
78
 
79
+ ### Updating to the Latest Version
80
+
81
+ To ensure you have the latest features and bug fixes, you can upgrade the MUTTs package from PyPI:
82
+
83
+ ```bash
84
+ pip install --upgrade mutts
85
+ ```
86
+
87
+ To check your currently installed version:
88
+ ```bash
89
+ pip show mutts
90
+ ```
91
+
92
+ You can also install a specific version if needed:
93
+ ```bash
94
+ pip install mutts==<version>
95
+ ```
96
+
78
97
  ### Usage
79
98
 
80
99
  Run the `mutts` command with the required options:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "mutts"
3
- version = "1.0.3" # dynamic versioning from git tags
3
+ version = "1.0.4" # dynamic versioning from git tags
4
4
  description = "Metadata for User facility Template Transformations"
5
5
  authors = [
6
6
  "Sujay Patil <spatil@lbl.gov>",
@@ -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="outer")
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"]:
File without changes
File without changes
File without changes