Sign inSign up

amiklos/hcppipeline

By amiklos

Updated over 1 year ago

Image
0

1.5K

amiklos/hcppipeline repository overview

4:15 is an update from 4:10 which is the standard hcppipeline, but with the little modification in run.py that instead of shutil.copytree we use a recursive copy_tree function as shutil.copytree had a bug and was giving permission errors that I could not resolve despite permissions looked ok. (This did not cause issue in docker, but in podman started for a regular user, not for sys-admin)

for full disclosure here is the detailed change:

pip install pathlib

in /run.py from pathlib import Path

def copy_tree(src, dst): src_path = Path(src) dst_path = Path(dst)

if not src_path.exists(): raise Exception("File not found")

if not dst_path.exists(): dst_path.mkdir(parents=True)

for item in src_path.iterdir(): s = src_path / item.name d = dst_path / item.name if s.is_dir(): copy_tree(s, d) else: shutil.copy2(str(s), str(d))

4.11 is an update from the 4:10 that hcp_fix is switched to zhh_fix, but should not be too much difference as they almost the same.

Tag summary

Content type

Image

Digest

sha256:e0cb14885

Size

8.4 GB

Last updated

over 1 year ago

docker pull amiklos/hcppipeline:4.15