seabirdfilehandler 0.7.5__py3-none-any.whl → 0.7.6__py3-none-any.whl

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.

Potentially problematic release.


This version of seabirdfilehandler might be problematic. Click here for more details.

@@ -157,10 +157,13 @@ class FileCollection(UserList):
157
157
  -------
158
158
  A list of all paths found.
159
159
  """
160
- return sorted(
161
- self.path_to_files.rglob(f"*{pattern}*{self.file_suffix}"),
162
- key=sorting_key,
163
- )
160
+ if self.path_to_files.is_file():
161
+ return [self.path_to_files]
162
+ else:
163
+ return sorted(
164
+ self.path_to_files.rglob(f"*{pattern}*{self.file_suffix}"),
165
+ key=sorting_key,
166
+ )
164
167
 
165
168
  def load_files(self, only_metadata: bool = False) -> list[DataFile]:
166
169
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seabirdfilehandler
3
- Version: 0.7.5
3
+ Version: 0.7.6
4
4
  Summary: Library of parsers to interact with SeaBird CTD files.
5
5
  License-File: LICENSE
6
6
  Keywords: CTD,parser,seabird,data
@@ -3,14 +3,14 @@ seabirdfilehandler/bottlefile.py,sha256=qCh506J3MWZXM11243aw_oJRocVB0ZIipXQLEgkD
3
3
  seabirdfilehandler/bottlelogfile.py,sha256=MtMmEebdAktO3mk6KbmJC7dfx9sRLbV5qqDQt2qtpJE,4310
4
4
  seabirdfilehandler/cnvfile.py,sha256=xCkU0N9WS2Lo3OPyo2YFl-D8qvLwIpjDDO3Rco__8Mg,10248
5
5
  seabirdfilehandler/datafiles.py,sha256=riSs_IG6qruJL_M92Ii4XqBpLp34U3pwg4yFQHchq7U,9233
6
- seabirdfilehandler/file_collection.py,sha256=oLdjS-Q4_33T0qo_SYxkqg2bsaeg4gLVKBkOPxoTXx4,16111
6
+ seabirdfilehandler/file_collection.py,sha256=GrjZ_kscA4w0imwdfVTNaJuvbRZAYBqMMRzyWun7fuQ,16222
7
7
  seabirdfilehandler/geomar_ctd_file_parser.py,sha256=4eCnkE0mvPKC8Dic8sXP4xpfwnk3K2MQcGFBf6loT8k,2655
8
8
  seabirdfilehandler/hexfile.py,sha256=TBplwbWHrTuJzv2qlx6xYNtoX43I2YUabDmaGZuBEDQ,2144
9
9
  seabirdfilehandler/parameter.py,sha256=ovoYt9NjUhLudCywzgEBlnSHydgSVsueHcl45769LVg,16072
10
10
  seabirdfilehandler/processing_steps.py,sha256=5v6FV5zT7K6flbYLU31fyBRwPwQi4225se8i9WYUTQQ,7101
11
11
  seabirdfilehandler/utils.py,sha256=5KXdB8Hdv65dv5tPyXxNMct1mCEOyA3S8XP54AFAnx0,1745
12
12
  seabirdfilehandler/xmlfiles.py,sha256=XqqbVNjyINySoe2ZC_qJglkAqshavZxT2-jorDOSj7Y,5084
13
- seabirdfilehandler-0.7.5.dist-info/METADATA,sha256=hLyBlSy7XXyuTFkqrC58eXAOcIVI0cqGVlYGLGwBX1M,2329
14
- seabirdfilehandler-0.7.5.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
15
- seabirdfilehandler-0.7.5.dist-info/licenses/LICENSE,sha256=Ifd1VPmYv32oJd2QVh3wIQP9X05vYJlcY6kONz360ws,34603
16
- seabirdfilehandler-0.7.5.dist-info/RECORD,,
13
+ seabirdfilehandler-0.7.6.dist-info/METADATA,sha256=HYHFROUcnsoGFtXefvLpPq2x7CDyKIL-AU7AzudaQUo,2329
14
+ seabirdfilehandler-0.7.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
15
+ seabirdfilehandler-0.7.6.dist-info/licenses/LICENSE,sha256=Ifd1VPmYv32oJd2QVh3wIQP9X05vYJlcY6kONz360ws,34603
16
+ seabirdfilehandler-0.7.6.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.0
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any