bcgov / bcgov/ligo-lib

File Existence Check

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

[What if we are trying to close a file that could not be created for writing?](https://github.com/bcgov-c/data-linking/blob/develop-2.0/lib/cdi-linking/cdilinker/linker/chunked_dedup.py#L228)

Initially I was confused regarding the purpose of statements like the above. After talking to Khalegh I understood that he is trying to make sure that the file that he will need soon exists.

Another similar one : https://github.com/bcgov-c/data-linking/blob/develop-2.0/lib/cdi-linking/cdilinker/linker/chunked_dedup.py#L261

There are couple of similar ones in https://github.com/bcgov-c/data-linking/blob/develop-2.0/lib/cdi-linking/cdilinker/linker/chunked_link.py as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.