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

Elias Steyaert changes for google cloud #28

Open
wants to merge 80 commits into
base: master
Choose a base branch
from

Conversation

EliasSteyaert
Copy link

No description provided.

EliasSteyaert and others added 30 commits April 24, 2024 16:55
Adding the ETN file into my github
@MaybeJustJames MaybeJustJames changed the title Initial steps to run on google cloud Elias Steyaert changes for google cloud May 31, 2024
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this

@@ -1,5 +1,4 @@
#!/bin/bash

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this line back in

usr/bin/irbuild Outdated
@@ -66,70 +66,70 @@ if [ "$BUILD" ]; then

# Import any manifest information.

if [ -e "$DATA/irefindex_manifest" ] && ! "$TOOLS/irdata_database_action.py" "$DATABASE" "$SQL/import_irefindex_manifest.sql" "$DATA" $PSQL_OPTIONS ; then
if [ -e "$DATA/irefindex_manifest" ] && ! "${USE_PYTHON_INTERPRETER}" "$TOOLS/irdata_database_action.py" "$DATABASE" "$SQL/import_irefindex_manifest.sql" "$DATA" $PSQL_OPTIONS ; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [ -e "$DATA/irefindex_manifest" ] && ! "${USE_PYTHON_INTERPRETER}" "$TOOLS/irdata_database_action.py" "$DATABASE" "$SQL/import_irefindex_manifest.sql" "$DATA" $PSQL_OPTIONS ; then
if [ -e "$DATA/irefindex_manifest" ] && ! "$TOOLS/irdata_database_action.py" "$DATABASE" "$SQL/import_irefindex_manifest.sql" "$DATA" $PSQL_OPTIONS ; then

@@ -138,7 +145,7 @@ BHF_UCL_DOWNLOAD_FILES="bhfucl_psicquic.txt"
BHF_UCL_DIR_NAME="BHF-UCL"
BHF_UCL_OTHER_FILE_PATTERN='*.txt'
BHF_UCL_PARSER='irdata_parse_bhfucl.sh'
BHF_UCL_IMPORT_TEMPLATE='import_mitab.sql'
BHF_UCL_IMPORT_TEMPLATE='import_mitab.sql'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
BHF_UCL_IMPORT_TEMPLATE='import_mitab.sql'
BHF_UCL_IMPORT_TEMPLATE='import_mitab.sql'

@@ -761,7 +768,7 @@ fi
# Data directory.

SYSDATA="$SYSPREFIX/var/lib/irdata/data"

echo "marker1 $DATA"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "marker1 $DATA"

Comment on lines +42 to +44
# Log the value of $1
echo "main_script: \$1 is $1" > /home/irefindex/logfile.log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Log the value of $1
echo "main_script: \$1 is $1" > /home/irefindex/logfile.log

@@ -65,8 +68,21 @@ for FILENAME in $FILENAMES; do

# Split the data file into $PROCESS pieces.
# Pass each process its rank (0-based) and the total number of processes.
echo "can I see this echo, which is situated in my uniprotscript" >> /home/irefindex/logfile2.log
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
echo "can I see this echo, which is situated in my uniprotscript" >> /home/irefindex/logfile2.log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this file

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go back to how it was

usr/bin/irparse Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go back to how it was

EliasSteyaert and others added 26 commits May 31, 2024 16:58
Adding week 4 to the ETN
Getting the code blocks cleaner when knitted
…sks/data instead of the home directory (through the postgresql.conf)
adding new info to the ETN up to wednesday 12/06/2024
making a README file
minor changes
Updated the ETN for the evaluation
updating the planning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants