Skip to content
Snippets Groups Projects
Commit a2d45148 authored by Pau Andrio's avatar Pau Andrio
Browse files

2022.4

parent c9c7db5b
No related branches found
No related tags found
No related merge requests found
[![](https://readthedocs.org/projects/biobb-common/badge/?version=latest)](https://biobb-common.readthedocs.io/en/latest/?badge=latest)
[![](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](https://anaconda.org/bioconda/biobb_common)
[![](https://img.shields.io/badge/docker-Quay.io-blue)](https://quay.io/repository/biocontainers/biobb_common?tab=tags)
[![](https://img.shields.io/badge/singularity-GalaxyProject-blue)](https://depot.galaxyproject.org/singularity/biobb_common:3.8.1--pyhdfd78af_0)
[![](https://img.shields.io/badge/singularity-GalaxyProject-blue)](https://depot.galaxyproject.org/singularity/biobb_common:3.9.0--pyhdfd78af_0)
[![](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
......@@ -17,7 +17,7 @@ The latest documentation of this package can be found in our readthedocs site:
[latest API documentation](http://biobb_common.readthedocs.io/en/latest/).
### Version
v3.8.1 2022.3
v3.9.0 2022.4
### Copyright & Licensing
This software has been developed in the [MMB group](http://mmb.irbbarcelona.org) at the [BSC](http://www.bsc.es/) & [IRB](https://www.irbbarcelona.org/) for the [European BioExcel](http://bioexcel.eu/), funded by the European Commission (EU H2020 [823830](http://cordis.europa.eu/projects/823830), EU H2020 [675728](http://cordis.europa.eu/projects/675728)).
......
name = "biobb_common"
__version__ = "3.8.1"
__version__ = "3.9.0"
......@@ -29,7 +29,7 @@ class CmdWrapper:
else:
self.out_log.info(cmd + '\n')
new_env = self.env if self.env else os.environ.copy()
new_env = {**os.environ.copy(), **self.env} if self.env else os.environ.copy()
process = subprocess.Popen(cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
......
......@@ -75,7 +75,7 @@ author = u'Bioexcel Project'
# built documents.
#
# The short X.Y version.
version = u'3.8.1'
version = u'3.9.0'
# The full version, including alpha/beta/rc tags.
release = u'2022.3'
......
[![](https://readthedocs.org/projects/biobb-common/badge/?version=latest)](https://biobb-common.readthedocs.io/en/latest/?badge=latest)
[![](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](https://anaconda.org/bioconda/biobb_common)
[![](https://img.shields.io/badge/docker-Quay.io-blue)](https://quay.io/repository/biocontainers/biobb_common?tab=tags)
[![](https://img.shields.io/badge/singularity-GalaxyProject-blue)](https://depot.galaxyproject.org/singularity/biobb_common:3.8.1--pyhdfd78af_0)
[![](https://img.shields.io/badge/singularity-GalaxyProject-blue)](https://depot.galaxyproject.org/singularity/biobb_common:3.9.0--pyhdfd78af_0)
[![](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
......@@ -17,7 +17,7 @@ The latest documentation of this package can be found in our readthedocs site:
[latest API documentation](http://biobb_common.readthedocs.io/en/latest/).
### Version
v3.8.1 2022.3
v3.9.0 2022.4
### Copyright & Licensing
This software has been developed in the [MMB group](http://mmb.irbbarcelona.org) at the [BSC](http://www.bsc.es/) & [IRB](https://www.irbbarcelona.org/) for the [European BioExcel](http://bioexcel.eu/), funded by the European Commission (EU H2020 [823830](http://cordis.europa.eu/projects/823830), EU H2020 [675728](http://cordis.europa.eu/projects/675728)).
......
......@@ -10,7 +10,7 @@
"applicationSubCategory": "http://www.edamontology.org/topic_3892",
"citation": "https://www.nature.com/articles/s41597-019-0177-4",
"license": "https://www.apache.org/licenses/LICENSE-2.0",
"softwareVersion": "3.8.1",
"softwareVersion": "3.9.0",
"applicationSuite": "BioBB BioExcel Building Blocks",
"codeRepository": "https://github.com/bioexcel/biobb_common",
"isAccessibleForFree": "True",
......
......@@ -63,10 +63,9 @@ class BiobbObject:
self.remove_tmp = properties.get('remove_tmp', True)
self.restart = properties.get('restart', False)
self.cmd = []
self.environment = None
self.return_code = None
self.tmp_files = []
self.env_vars_dict: typing.Mapping = {}
self.env_vars_dict: typing.Mapping = properties.get('check_extensions', {})
self.dev = properties.get('dev', None)
self.check_extensions = properties.get('check_extensions', True)
......@@ -258,7 +257,7 @@ class BiobbObject:
# fu.log('Not using any container', self.out_log, self.global_log)
def execute_command(self):
self.return_code = cmd_wrapper.CmdWrapper(self.cmd, self.out_log, self.err_log, self.global_log, self.environment).launch()
self.return_code = cmd_wrapper.CmdWrapper(self.cmd, self.out_log, self.err_log, self.global_log, self.env_vars_dict).launch()
def copy_to_host(self):
for file_ref, file_path in self.stage_io_dict["out"].items():
......
......@@ -6,7 +6,7 @@
"conda": "https://anaconda.org/bioconda/biobb_common",
"docker": "https://quay.io/biocontainers/biobb_common:3.8.1--pyhdfd78af_0",
"singularity": "https://depot.galaxyproject.org/singularity/biobb_common:3.8.1--pyhdfd78af_0",
"version": "3.8.1",
"version": "3.9.0",
"tools" : [
{
"block" : "",
......@@ -16,10 +16,10 @@
],
"dep_pypi" : [
"install_requires=['pyyaml', 'requests', 'biopython==1.79']",
"python_requires='>=3.7'"
"python_requires='>=3.7,<3.10'"
],
"dep_conda" : [
"python >=3.7",
"python >=3.7,<3.10",
"pyyaml",
"requests",
"biopython ==1.79"
......
......@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="biobb_common",
version="3.8.1",
version="3.9.0",
author="Biobb developers",
author_email="pau.andrio@bsc.es",
description="Biobb_common is the base package required to use the biobb packages.",
......@@ -19,7 +19,7 @@ setuptools.setup(
},
packages=setuptools.find_packages(exclude=['docs']),
install_requires=['pyyaml', 'requests', 'biopython==1.79'],
python_requires='>=3.7',
python_requires='>=3.7,<3.10',
classifiers=(
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.7",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment