Encode-utils

Latest version: v2.11.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

1.3.0

Bug Fixes:
-The last release introduced the (non-recommended) feature to not include the 'aliases' property when doing a POST. There was a bug in that sometimes when you did in fact provide aliases, ``Connection.post()`` still though you didn't.

New Features:
-New method ``Connection.remove_properties()``. See example at
http://encode-utils.readthedocs.io/en/latest/examples.html#removing-properties-from-a-record.

1.2.1

Connection``class:
-Updated ``connection.Connection.post()`` such that it no-longer requires the 'aliases' property for the few profiles that surprisingly don't include it, which are: ``['access_key_admin', 'publication', 'award', 'organism', 'page', 'image', 'user', 'lab']``. Thanks hitz for the bug report.
-Updated the logging in conflict situations in ``connection.Connection.post()``.

1.2.0

New Features:
-Added dry-run mode (6). See examples on RTD.
-The ``Connection`` class can be instantiated with a custom host, i.e. a demo host (hitz , 1)
-The DCC API keys are no longer required for using the ``Connection`` class. Useful for folks who just need to do search or get requests. (hitz , 1)
-The call to the ``get()`` method in ``Connection.patch()`` now sets the argument ``frame=object``, rather than the default frame of ``page``, which is a significant speedup (hitz , 7).

Other:
-Ran autopep8.py on the codebase to format according to PEP8 (hitz 2).
-Documentation updates on RTD.

1.1.4

-Fixed installation issue where script eu_register.py wasn't included.
-Updated profiles.py module such that the new "type" profile that is added by the DCC is ignored when fetching all profiles through profile.get_profiles().

1.1.3

-Bug fix in ``connection.Connection.get()`` where record identifiers with a starting '/', i.e. /files/ENCFF559ZUE/, weren't handled properly.
-Bug fix in ``connection.Connection.get_fastqfile_replicate_hash()`` where FASTQ File records with ``run_type='single-ended'`` caused a fatal error.

-Added new pre-POST hook in Connection() such that if a FASTQ file objct is being POSTED and the run_type='single-ended', it will check for the presence of the 'paired_end' key and remove it if present.

-Added several new scripts.

1.1.1

connection.Connection():
-Added error logging when a PATCH fails due to a 404.
-Deprecated send() method.
-bugfix in post(): If the key Connection.ENCID_KEY is present in the payload, it will now be removed.

eu_register.py:
-removed "-e" option.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.