dxpy 0.392.0__tar.gz → 0.393.0__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.
- {dxpy-0.392.0 → dxpy-0.393.0}/PKG-INFO +1 -1
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxfile.py +13 -33
- dxpy-0.393.0/dxpy/toolkit_version.py +1 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/PKG-INFO +1 -1
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxpy.py +0 -20
- dxpy-0.392.0/dxpy/toolkit_version.py +0 -1
- {dxpy-0.392.0 → dxpy-0.393.0}/MANIFEST.in +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/Readme.md +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/api.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/app_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/app_categories.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/asset_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/cmd_line_options_validator.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/data_transformations.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/dataset.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/json_validation_by_schema.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/schemas/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/schemas/assay_filtering_conditions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/schemas/assay_filtering_json_schemas.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/schemas/input_arguments_validation_schemas.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/vizclient.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/vizserver_filters_from_json_parser.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/vizserver_payload_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/auth.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/download_all_inputs.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxanalysis.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxapp.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxapp_container_functions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxapplet.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxdatabase.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxdatabase_functions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxdataobject_functions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxfile_functions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxglobalworkflow.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxjob.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxproject.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxrecord.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/dxworkflow.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/mount_all_inputs.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/search.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/cp.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/dataset_utilities.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/download.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/exec_io.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/help_messages.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/org.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/output_handling.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/parsers.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/cli/workflow.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/compat.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest_staging.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest_staging_vep.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest_vep.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/cohort_filter_payload.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/column_conditions.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/column_conversion.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/filter_to_payload.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/germline_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/input_validation.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/input_validation_somatic.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/retrieve_allele_schema.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/retrieve_annotation_schema.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/retrieve_bins.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/retrieve_genotype_schema.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/return_columns_allele.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/return_columns_annotation.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/return_columns_genotype.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/return_columns_genotype_only.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/somatic_filter_payload.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dxlog.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/exceptions.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/executable_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/ImageRef.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/ImageRefFactory.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/awscli_assets.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/awscli_assets.staging.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/collect_images.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextaur_assets.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextaur_assets.staging.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextflow_assets.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextflow_assets.staging.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextflow_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextflow_templates.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/nextflow/nextflow_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/packages/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/scripts/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/scripts/dx.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/scripts/dx_app_wizard.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/scripts/dx_build_app.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/scripts/dx_build_applet.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/ssh_tunnel_app_support.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/system_requirements.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/bash.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/python.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/Readme.md +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/basic/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/basic/src/code.sh +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/parallelized/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/parallelized/src/code.sh +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/scatter-process-gather/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/scatter-process-gather/src/code.sh +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/nextflow/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/nextflow/src/nextflow.sh +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/basic/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/basic/src/code.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/basic/test/test.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/parallelized/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/parallelized/src/code.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/parallelized/test/test.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/dxapp.json +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/src/code.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/test/test.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/__init__.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/batch_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/completer.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/config.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/describe.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/exec_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/executable_unbuilder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/file_handle.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/file_load_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/genomic_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/job_log_client.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/local_exec_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/pathmatch.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/pretty_print.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/printing.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/resolver.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/spelling_corrector.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/utils/version.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy/workflow_builder.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/SOURCES.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/dependency_links.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/entry_points.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/not-zip-safe +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/requires.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/dxpy.egg-info/top_level.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/requirements.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/requirements_setuptools.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/requirements_test.txt +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-clone-asset +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-docker +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-download-all-inputs +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-fetch-bundled-depends +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-generate-dxapp +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-add-output +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-dxlink +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-get-identity-token +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-new-job +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-parse-link +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-jobutil-report-error +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-log-stream +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-mount-all-inputs +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-notebook-reconnect +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-print-bash-vars +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/scripts/dx-upload-all-outputs +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/setup.cfg +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/setup.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_batch.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_create_cohort.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_describe.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dx-docker.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dx_app_wizard.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dx_bash_helpers.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dx_completion.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dx_symlink.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxabs.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxasset.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxclient.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxpy_utils.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_dxunpack.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_extract_assay.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_extract_dataset.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_extract_expression.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_extract_somatic.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_nextflow.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_nextflow_ImageRef.py +0 -0
- {dxpy-0.392.0 → dxpy-0.393.0}/test/test_nextflow_ImageRefFactory.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dxpy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.393.0
|
|
4
4
|
Summary: DNAnexus Platform API bindings for Python
|
|
5
5
|
Home-page: https://github.com/dnanexus/dx-toolkit
|
|
6
6
|
Author: Aleksandra Zalcman, Andrey Kislyuk, Anurag Biyani, Geet Duggal, Katherine Lai, Kurt Jensen, Marek Hrvol, Ohad Rodeh, Phil Sung
|
|
@@ -314,39 +314,19 @@ class DXFile(DXDataObject):
|
|
|
314
314
|
raise
|
|
315
315
|
|
|
316
316
|
def __iter__(self):
|
|
317
|
-
_buffer =
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
else:
|
|
331
|
-
_buffer = _buffer + more
|
|
332
|
-
else:
|
|
333
|
-
if self._binary_mode:
|
|
334
|
-
raise DXFileError("Cannot read lines when file opened in binary mode")
|
|
335
|
-
# python3 is much stricter about distinguishing
|
|
336
|
-
# 'bytes' from 'str'.
|
|
337
|
-
while not done:
|
|
338
|
-
if "\n" in _buffer:
|
|
339
|
-
lines = _buffer.splitlines()
|
|
340
|
-
for i in range(len(lines) - 1):
|
|
341
|
-
yield lines[i]
|
|
342
|
-
_buffer = lines[len(lines) - 1]
|
|
343
|
-
else:
|
|
344
|
-
more = self.read(self._read_bufsize)
|
|
345
|
-
if more == "":
|
|
346
|
-
done = True
|
|
347
|
-
else:
|
|
348
|
-
_buffer = _buffer + more
|
|
349
|
-
|
|
317
|
+
_buffer = ""
|
|
318
|
+
if self._binary_mode:
|
|
319
|
+
raise DXFileError("Cannot read lines when file opened in binary mode")
|
|
320
|
+
while True:
|
|
321
|
+
more = self.read(self._read_bufsize)
|
|
322
|
+
if not more:
|
|
323
|
+
break
|
|
324
|
+
_buffer += more
|
|
325
|
+
parts = _buffer.split("\n")
|
|
326
|
+
for i in range(len(parts) - 1):
|
|
327
|
+
yield parts[i]
|
|
328
|
+
# The final piece may be incomplete, so keep it in the buffer
|
|
329
|
+
_buffer = parts[-1]
|
|
350
330
|
if _buffer:
|
|
351
331
|
yield _buffer
|
|
352
332
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = '0.393.0'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dxpy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.393.0
|
|
4
4
|
Summary: DNAnexus Platform API bindings for Python
|
|
5
5
|
Home-page: https://github.com/dnanexus/dx-toolkit
|
|
6
6
|
Author: Aleksandra Zalcman, Andrey Kislyuk, Anurag Biyani, Geet Duggal, Katherine Lai, Kurt Jensen, Marek Hrvol, Ohad Rodeh, Phil Sung
|
|
@@ -2551,26 +2551,6 @@ class TestHTTPResponses(testutil.DXTestCaseCompat):
|
|
|
2551
2551
|
with self.assertRaisesRegex((SSLError, IOError, OpenSSL.SSL.Error), "file"):
|
|
2552
2552
|
dxpy.DXHTTPRequest("/system/whoami", {}, cert_file="nonexistent")
|
|
2553
2553
|
|
|
2554
|
-
def test_fake_errors(self):
|
|
2555
|
-
dxpy.DXHTTPRequest('/system/fakeError', {'errorType': 'Valid JSON'}, always_retry=True)
|
|
2556
|
-
|
|
2557
|
-
# Minimal latency with retries, in seconds. This makes sure we actually did a retry.
|
|
2558
|
-
min_sec_with_retries = 1
|
|
2559
|
-
max_num_retries = 2
|
|
2560
|
-
start_time = time.time()
|
|
2561
|
-
with self.assertRaises(ValueError):
|
|
2562
|
-
dxpy.DXHTTPRequest('/system/fakeError', {'errorType': 'Invalid JSON'},
|
|
2563
|
-
max_retries=max_num_retries, always_retry=True)
|
|
2564
|
-
end_time = time.time()
|
|
2565
|
-
self.assertGreater(end_time - start_time, min_sec_with_retries)
|
|
2566
|
-
|
|
2567
|
-
start_time = time.time()
|
|
2568
|
-
with self.assertRaises(ValueError):
|
|
2569
|
-
dxpy.DXHTTPRequest('/system/fakeError', {'errorType': 'Error not decodeable'},
|
|
2570
|
-
max_retries=max_num_retries, always_retry=True)
|
|
2571
|
-
end_time = time.time()
|
|
2572
|
-
self.assertGreater(end_time - start_time, min_sec_with_retries)
|
|
2573
|
-
|
|
2574
2554
|
def test_system_headers_user_agent(self):
|
|
2575
2555
|
headers = dxpy.api.system_headers()
|
|
2576
2556
|
self.assertTrue('user-agent' in headers)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = '0.392.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/bindings/apollo/schemas/input_arguments_validation_schemas.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest_staging.json
RENAMED
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/dx_extract_utils/Homo_sapiens_genes_manifest_staging_vep.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/scatter-process-gather/dxapp.json
RENAMED
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/bash/scatter-process-gather/src/code.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/dxapp.json
RENAMED
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/src/code.py
RENAMED
|
File without changes
|
{dxpy-0.392.0 → dxpy-0.393.0}/dxpy/templating/templates/python/scatter-process-gather/test/test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|