rda-python-dsarch 2.0.1__tar.gz → 2.0.2__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 (21) hide show
  1. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/PKG-INFO +1 -1
  2. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/pyproject.toml +1 -1
  3. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/dsarch.py +3 -4
  4. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/pg_meta.py +1 -1
  5. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/PKG-INFO +1 -1
  6. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/LICENSE +0 -0
  7. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/MANIFEST.in +0 -0
  8. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/README.md +0 -0
  9. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/setup.cfg +0 -0
  10. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/PgArch.py +0 -0
  11. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/PgMeta.py +0 -0
  12. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/__init__.py +0 -0
  13. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/ds_arch.py +0 -0
  14. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/dsarch.usg +0 -0
  15. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch/pg_arch.py +0 -0
  16. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  17. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  18. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  19. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  20. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  21. {rda_python_dsarch-2.0.1 → rda_python_dsarch-2.0.2}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_dsarch"
7
- version = "2.0.1"
7
+ version = "2.0.2"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -306,7 +306,6 @@ class DsArch(PgArch, PgMeta):
306
306
  self.cmdlog(None, 0, self.LOGWRN|self.SNDEML)
307
307
  else:
308
308
  self.cmdlog()
309
- self.pgexit(0)
310
309
 
311
310
  # archive web/object files
312
311
  def archive_web_files(self):
@@ -2240,7 +2239,7 @@ class DsArch(PgArch, PgMeta):
2240
2239
  if not pgrec or level != pgrec['level']: record['level'] = level
2241
2240
  if pgrec:
2242
2241
  modcnt += self.pgupdt(tname, record, "gidx = {}".format(pgrec['gidx']), self.LGEREX)
2243
- if pindex: tcnt += self.reset_top_group_index(dsid, gindex, 6)
2242
+ if pindex: tcnt += self.reset_top_gindex(dsid, gindex, 6)
2244
2243
  if 'grptype' in record:
2245
2244
  self.params['WN'] = 6
2246
2245
  self.CHGGRPS[gindex] = 1
@@ -4375,10 +4374,10 @@ class DsArch(PgArch, PgMeta):
4375
4374
  if 'GI' in self.params:
4376
4375
  for gindex in self.params['GI']:
4377
4376
  if gindex is None or gindex in cgidxs: continue
4378
- tcnt += self.reset_top_group_index(dsid, gindex, act)
4377
+ tcnt += self.reset_top_gindex(dsid, gindex, act)
4379
4378
  cgidxs[gindex] = gindex
4380
4379
  else:
4381
- tcnt += self.reset_top_group_index(dsid, 0, act)
4380
+ tcnt += self.reset_top_gindex(dsid, 0, act)
4382
4381
  return tcnt
4383
4382
 
4384
4383
  # set the re-archived file counts for groups
@@ -679,7 +679,7 @@ class PgMeta(PgCMD, PgSplit):
679
679
  pgrecs = self.pgmget("dsgroup", "gindex", pcnd, self.LGEREX)
680
680
  cnt = len(pgrecs['gindex']) if pgrecs else 0
681
681
  for i in range(cnt):
682
- tcnt += self.reset_top_gindex(dsid, pgrecs['gindex'][i])
682
+ tcnt += self.reset_top_gindex(dsid, pgrecs['gindex'][i], act)
683
683
  return tcnt
684
684
 
685
685
  # reset metalink in table wfile
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch