PyOPIA 2.5.3__tar.gz → 2.5.5__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.
Files changed (26) hide show
  1. {pyopia-2.5.3 → pyopia-2.5.5}/PKG-INFO +1 -1
  2. pyopia-2.5.5/pyopia/__init__.py +1 -0
  3. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/cli.py +3 -2
  4. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/io.py +2 -2
  5. pyopia-2.5.3/pyopia/__init__.py +0 -1
  6. {pyopia-2.5.3 → pyopia-2.5.5}/LICENSE +0 -0
  7. {pyopia-2.5.3 → pyopia-2.5.5}/README.md +0 -0
  8. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/background.py +0 -0
  9. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/classify.py +0 -0
  10. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/exampledata.py +0 -0
  11. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/instrument/__init__.py +0 -0
  12. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/instrument/common.py +0 -0
  13. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/instrument/holo.py +0 -0
  14. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/instrument/silcam.py +0 -0
  15. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/instrument/uvp.py +0 -0
  16. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/pipeline.py +0 -0
  17. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/plotting.py +0 -0
  18. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/process.py +0 -0
  19. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/simulator/__init__.py +0 -0
  20. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/simulator/silcam.py +0 -0
  21. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/statistics.py +0 -0
  22. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/tests/__init__.py +0 -0
  23. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/tests/test_classify.py +0 -0
  24. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/tests/test_notebooks.py +0 -0
  25. {pyopia-2.5.3 → pyopia-2.5.5}/pyopia/tests/test_pipeline.py +0 -0
  26. {pyopia-2.5.3 → pyopia-2.5.5}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyOPIA
3
- Version: 2.5.3
3
+ Version: 2.5.5
4
4
  Summary: A Python Ocean Particle Image Analysis toolbox.
5
5
  Home-page: https://github.com/sintef/pyopia
6
6
  Keywords: Ocean,Particles,Imaging,Measurement,Size distribution
@@ -0,0 +1 @@
1
+ __version__ = '2.5.5'
@@ -132,8 +132,9 @@ def process(config_filename: str, num_chunks: int = 1):
132
132
 
133
133
  progress.console.print("[blue]OBTAIN FILE LIST")
134
134
  raw_files = pyopia.pipeline.FilesToProcess(pipeline_config['general']['raw_files'])
135
- average_window = pipeline_config['steps']['correctbackground'].get('average_window', 0)
136
- bgshift_function = pipeline_config['steps']['correctbackground'].get('bgshift_function', 'pass')
135
+ conf_corrbg = pipeline_config['steps'].get('correctbackground', dict())
136
+ average_window = conf_corrbg.get('average_window', 0)
137
+ bgshift_function = conf_corrbg.get('bgshift_function', 'pass')
137
138
  raw_files.prepare_chunking(num_chunks, average_window, bgshift_function)
138
139
 
139
140
  progress.console.print('[blue]PREPARE FOLDERS')
@@ -390,7 +390,7 @@ def load_toml(toml_file):
390
390
  return settings
391
391
 
392
392
 
393
- def StatsH5():
393
+ def StatsH5(**kwargs):
394
394
  '''.. deprecated:: 2.4.8
395
395
  :class:`pyopia.io.StatsH5` will be removed in version 3.0.0, it is replaced by
396
396
  :class:`pyopia.io.StatsToDisc`.
@@ -430,4 +430,4 @@ def StatsH5():
430
430
  append = true
431
431
  '''
432
432
  logger.warning('StatsH5 will be removed in version 3.0.0, it is replaced by pyopia.io.StatsToDisc')
433
- return StatsToDisc()
433
+ return StatsToDisc(**kwargs)
@@ -1 +0,0 @@
1
- __version__ = '2.5.3'
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