Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings when running the install.sh #312

Open
luissian opened this issue Sep 27, 2024 · 1 comment
Open

warnings when running the install.sh #312

luissian opened this issue Sep 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@luissian
Copy link
Member

luissian commented Sep 27, 2024

Description of the bug

When running the script file "install.sh" several warnings are showed related to different part of code in iSkyLIMS

`
/opt/iskylims/wetlab/utils/library.py:807: SyntaxWarning: invalid escape sequence '\d'
split_code = re.search("(.*_)(\d+)$", last_lib_prep_code_id)

/opt/iskylims/wetlab/utils/common.py:189: SyntaxWarning: invalid escape sequence '\s'
found_tag = re.search("^\s+ %s" % search_line, line)

/opt/iskylims/wetlab/utils/samplesheet.py:109: SyntaxWarning: invalid escape sequence '['
data_found = re.search("^[Data]", line)

/opt/iskylims/wetlab/utils/samplesheet.py:208: SyntaxWarning: invalid escape sequence '\w'
if read_found and re.search("^\w+", line):

/opt/iskylims/wetlab/utils/samplesheet.py:395: SyntaxWarning: invalid escape sequence '\w'
valid_line = re.search("^\w+", line)

/opt/iskylims/wetlab/utils/samplesheet.py:445: SyntaxWarning: invalid escape sequence '\d'
tmp = re.search("(.)\d{8}-\d+..csv", library_file_name)

/opt/iskylims/wetlab/utils/samplesheet.py:520: SyntaxWarning: invalid escape sequence '\W'
if line == "\n" or re.search("^\W", line):

/opt/iskylims/wetlab/utils/samplesheet.py:595: SyntaxWarning: invalid escape sequence '\W'
if line == "\n" or re.search("^\W", line):

/opt/iskylims/wetlab/utils/collection_index.py:76: SyntaxWarning: invalid escape sequence '['
found_collection_name = re.search("^[Name]", line)

/opt/iskylims/wetlab/utils/collection_index.py:308: SyntaxWarning: invalid escape sequence '.'
split_filename = re.search("(.*)(.\w+$)", collection_file.name)

/opt/iskylims/wetlab/utils/crontab_process.py:723: SyntaxWarning: invalid escape sequence '\d'
log_file = re.search(".Cycle(\d+).", file_remote)
`

Command used and terminal output

No response

Relevant files

No response

System information

No response

@luissian luissian added the bug Something isn't working label Sep 27, 2024
@luissian luissian added this to the Ready for 3.2.0 milestone Sep 27, 2024
@luissian luissian self-assigned this Sep 27, 2024
luissian added a commit to luissian/iskylims that referenced this issue Sep 28, 2024
@luissian
Copy link
Member Author

added "r" parameter on the re.search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant