Releases: genomic-medicine-sweden/NGPIris
Releases · genomic-medicine-sweden/NGPIris
Amber
Type of change | Change |
---|---|
Change | The upload command, HCPHandler.upload_file and HCPHandler.upload_file was updated with a object path parameter |
Addition | NGPIris.hcp.exceptions.ObjectAlreadyExist exception was added |
Change | HCPHandler.list_objects can now list more than 1000 objects |
Change | HCPHandler.list_objects now returns a generator instead of a list |
Change | Pagination was added to list objects command |
Addition | HCPHandler.create_bucket was added |
Change | Download command can now download folders |
Indigo
Type of change | Change |
---|---|
Change | The iris command delete is replaced by delete-folder and delete-object |
Addition | The iris command list-buckets was added |
Addition | The iris command list-objects was added |
Change | The iris command search is replaced by simple-search |
Removal | The iris command utils was removed |
Type of change | Change |
---|---|
Addition | The new iris_generate_credentials_file command was added |
Change | The structure of the credentials file was altered |
Type of change | Change |
---|---|
Change | The class name HCPManager was changed to HCPHandler with its new set of parameters |
Change | The class class methods HCPManager.set_bucket and HCPManager.attach_bucket was replaced by HCPHandler.mount_bucket |
Removal | HCPManager.delete_key was removed |
Addition | HCPHandler.get_response was added |
Addition | HCPHandler.list_objects was added |
Addition | HCPHandler.object_exists was added |
Addition | HCPHandler.upload_folder was added |
Addition | HCPHandler.delete_objects was added |
Addition | HCPHandler.delete_folder was added |
Addition | HCPHandler.search_objects_in_bucket was added |
Addition | HCPHandler.get_object_acl was added |
Addition | HCPHandler.get_bucket_acl was added |
Addition | HCPHandler.modify_single_object_acl was added |
Addition | HCPHandler.modify_single_bucket_acl was added |
Addition | HCPHandler.modify_object_acl was added |
Addition | HCPHandler.modify_bucket_acl was added |
Addition | A new module for HCP statistics called statistics.py was added |
Type of change | Change |
---|---|
Change | The class name HCIManager was changed to HCIHandler with its new set of parameters |
Removal | HCIManager.get_password was removed |
Removal | HCIManager.create_template was removed |
Removal | HCIManager.generate_token was removed |
Removal | HCIManager.query was removed |
Removal | HCIManager.pretty_query was removed |
Removal | HCIManager.get_index was removed |
Addition | HCIHandler.request_token was added |
Addition | HCIHandler.list_index_names was added |
Addition | HCIHandler.look_up_index was added |
Addition | HCIHandler.raw_query was added |
Addition | HCIHandler.raw_query_from_JSON was added |
Ameliorated Actions
Added recursive upload
Added upload via file list commands to utils subcommand
Refactored hcp/hci code
Improved README use cases
Updated target machine to new host
Moved user irrelevant warnings to debug level
Refactored -a to optional -q flag
Tiny Tidbit
Features
- Added force flag to upload command/function
- Added delete by key function
Structure
- Compartmentalized the docs
- Rewrote all CLI examples
- Clarified some CLI helptext
Bugs
- Transfer speed will no longer show 0.0 or negative results
- Fixed some minor bugs related to uploading
Replaced Refactoring
Features
- Added list-buckets util command
- Added test-connection util command
- Added full string search functionality
Structures
- Moved out most code from the CLI to interact file
- Moved other things to preproc file
Bugs
- Removed redundant test
Superior Searchability
Features
- Added optional NGPi password to credentials
- Rewrote download and search to have multiple search modes
- Readded search mode NGPi
- Readded search mode NGPi-legacy
- Redefined search mode NGPr
- Redefined search mode None
- Reconfigured HCIManager to work with current NGPi
- Added function indices
Structure
- Rewrote HCI file into HCIManager class
- Added main to all CLI file
- Integrated all functionality of hci_functions to either functions, or misc set utils
- Reordered Readme
Fixes
- When download finds multiple files it wont crash
- Downloading with a target folder structure creates said structure
- Fixes terminal issue when running iris on the Nodes of GU
- Propagated urllib3 fix
Ballistic bugfixes
Just a bunch of bugfixes and refactors
Refined the Rendition
Functions
- Refined tagmap / metadata file generator code
- Callback function now can now be silenced using boolean
- Pytests now use randomized file names to avoid testing conflicts
- Expanded NGPr file searching command, with restriction categories and wildcards
Fixes
- Output stats have been moved to the exit function of ProgressPercentage
- Fixed bucketname linking not working as intended
- If zero files are uploaded due to options, an error is caught and displayed
- If file size is too big for successful transfer, an error is caught and displayed
- Fix to stdout to better support cronjobs
Documentation
- Revised README information on usage
- Updated names to refer to NGP(c/i/r)
Reaffirming the Resolution
Functions
- HCP class differentiation between bucket (object) and bucket (name)
- Trim_text function is now Win32 compatible
- Average transfer rate now listed
- Streamed log is defaulting to INFO level
- Non fastq files can now forcibly be uploaded
- Metadata file is now optional
Fixes
- Fastq files can now contain N
- Fixed an upload function bug
- Fixed a bunch of f-string bugs
- Transfer speed is now calculated and displayed
Documentation
- Streamed log is defaulting to INFO level
- Cleaned up command logs
- CLI changed so that each command has an argument
- README now refers to iris command instead of hcpi
- README examples clarified
- Added additional help lines to CLI
Improvised the Identity
- Package name is now NGPIris to reflect the policy change in naming
- Backrolled urlllib due to boto conflict
- Connection auto-test can now be cancelled on object creation
- Generalised bucket invocation for tests
- Minor code refactoring