Skip to content

Commit

Permalink
Apply ruff fixes to notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
casblaauw committed Feb 14, 2025
1 parent 7734b73 commit 81e22d8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/tutorials/borzoi_atac_finetuning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,8 @@
"import zipfile\n",
"import tempfile\n",
"\n",
"import numpy as np\n",
"import pandas as pd\n",
"import anndata as ad\n",
"import tensorflow as tf\n",
"import keras\n",
"import wandb\n",
"import crested"
]
},
Expand Down Expand Up @@ -123,7 +119,7 @@
"adata = crested.import_bigwigs(\n",
" bigwigs_folder=bigwigs_folder,\n",
" regions_file=regions_file,\n",
" target_region_width=1000, \n",
" target_region_width=1000,\n",
" target=\"count\",\n",
")\n",
"adata"
Expand Down Expand Up @@ -1534,7 +1530,7 @@
" config=config,\n",
" project_name=\"biccn_borzoi_atac\",\n",
" run_name=\"testrun\",\n",
" logger=\"wandb\", \n",
" logger=\"wandb\",\n",
")"
]
},
Expand Down Expand Up @@ -2719,7 +2715,7 @@
"outputs": [],
"source": [
"model_architecture = keras.models.load_model(\n",
" \"biccn_borzoi_atac/testrun/checkpoints/03.keras\", compile=False \n",
" \"biccn_borzoi_atac/testrun/checkpoints/03.keras\", compile=False\n",
")"
]
},
Expand All @@ -2737,7 +2733,7 @@
" config=config,\n",
" project_name=\"biccn_borzoi_atac\",\n",
" run_name=\"testrun_ft\",\n",
" logger=\"wandb\", \n",
" logger=\"wandb\",\n",
")"
]
},
Expand Down

0 comments on commit 81e22d8

Please sign in to comment.