rda-python-dsarch 3.0.10__tar.gz → 3.0.11__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-3.0.10/src/rda_python_dsarch.egg-info → rda_python_dsarch-3.0.11}/PKG-INFO +1 -1
  2. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/pyproject.toml +1 -1
  3. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/dsarch.py +8 -4
  4. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11/src/rda_python_dsarch.egg-info}/PKG-INFO +1 -1
  5. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/LICENSE +0 -0
  6. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/MANIFEST.in +0 -0
  7. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/README.md +0 -0
  8. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/setup.cfg +0 -0
  9. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/PgArch.py +0 -0
  10. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/PgMeta.py +0 -0
  11. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/__init__.py +0 -0
  12. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/ds_arch.py +0 -0
  13. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/dsarch.usg +0 -0
  14. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/pg_arch.py +0 -0
  15. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch/pg_meta.py +0 -0
  16. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  17. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  18. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  19. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  20. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  21. {rda_python_dsarch-3.0.10 → rda_python_dsarch-3.0.11}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 3.0.10
3
+ Version: 3.0.11
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 = "3.0.10"
7
+ version = "3.0.11"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -1914,14 +1914,18 @@ class DsArch(PgArch, PgMeta):
1914
1914
  self.pglog(binfo + ": No need Cross Copy, Both Backup & Drdata Exist", self.PGOPT['wrnlog'])
1915
1915
  continue
1916
1916
  if barch:
1917
- if not self.endpoint_copy_endpoint(qfile, qfile, bpoint, dpoint, self.PGOPT['emerol']|self.OVERRIDE):
1917
+ bstat = self.endpoint_copy_endpoint(qfile, qfile, bpoint, dpoint, self.PGOPT['emerol']|self.OVERRIDE)
1918
+ if bstat == self.FINISH: bstat = self.check_globus_finished(qfile, bpoint, self.PGOPT['emerol']|self.NOWAIT)
1919
+ if not bstat:
1918
1920
  errcnt += 1
1919
1921
  efiles[i] = 1
1920
1922
  dflags['B'] = bpoint
1921
1923
  continue
1922
1924
  bcnt += 1
1923
1925
  elif darch:
1924
- if not self.endpoint_copy_endpoint(qfile, qfile, dpoint, bpoint, self.PGOPT['emerol']|self.OVERRIDE):
1926
+ dstat = self.endpoint_copy_endpoint(qfile, qfile, dpoint, bpoint, self.PGOPT['emerol']|self.OVERRIDE)
1927
+ if dstat == self.FINISH: dstat = self.check_globus_finished(qfile, dpoint, self.PGOPT['emerol']|self.NOWAIT)
1928
+ if not dstat:
1925
1929
  errcnt += 1
1926
1930
  efiles[i] = 1
1927
1931
  dflags['D'] = dpoint
@@ -1952,9 +1956,9 @@ class DsArch(PgArch, PgMeta):
1952
1956
  self.check_background(None, 0, self.LOGWRN, 1)
1953
1957
  for i in range(self.ALLCNT):
1954
1958
  if barchs[i]:
1955
- self.validate_backarch(qfiles[i], "{}-{}".format(bpoint, qfiles[i]), i)
1959
+ self.validate_backarch(qfiles[i], "{}-{}".format(dpoint, qfiles[i]), bpoint, i)
1956
1960
  elif qfiles[i]:
1957
- self.validate_backarch(qfiles[i], "{}-{}".format(dpoint, qfiles[i]), i)
1961
+ self.validate_backarch(qfiles[i], "{}-{}".format(bpoint, qfiles[i]), dpoint, i)
1958
1962
  if bcnt > 0: self.pglog("{} of {} Backup file{} Cross Copied for {}".format(bcnt, self.ALLCNT, s, dsid), self.PGOPT['emllog'])
1959
1963
  if dcnt > 0: self.pglog("{} of {} Drdata file{} Cross Copied for {}".format(dcnt, self.ALLCNT, s, dsid), self.PGOPT['emllog'])
1960
1964
  if self.PGLOG['DSCHECK']:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 3.0.10
3
+ Version: 3.0.11
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