Repository navigation
Conversation
TiffSplit ingestion moved to Python (AcquiredTiff.make) and suite2p runs from Python, so the MATLAB leftovers no longer run: - drop AcquiredTiff.old_make and the imports only it used (subprocess, dj_shortcuts, params_config) - delete automatic_job/ingest_scaninfo_shell.sh, which only old_make ran - drop u19_matlab_dir, startup_pipeline_matlab_dir and ingest_scaninfo_script from params_config (datajoint_proj_dir and this_dir stay: catgt_dir and the ParameterFiles/ChanMapFiles paths use them) - drop the unused default_preprocessing_tool and default_matlab_ver from slurm_creator - reword the comments that still said MATLAB does the TiffSplit work (recording_handler, and an ordinary comment line in the TiffSplit definition; the table comment and attributes are unchanged) Closes #207 Assisted-by: ClaudeCode:claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 AI text below 🤖
Closes #207
TiffSplit ingestion runs in Python (
AcquiredTiff.make, since 6f1c52b) and suite2p runs from Python, so this removes the MATLAB code that was left on the imaging path and no longer runs.Removed
AcquiredTiff.old_makeinu19_pipeline/imaging_pipeline.py, and the imports only it used:subprocess,u19_pipeline.utils.dj_shortcutsandu19_pipeline.automatic_job.params_config. With that last one gone, importingimaging_pipelineno longer importsparams_config.u19_pipeline/automatic_job/ingest_scaninfo_shell.sh(onlyold_makeran it).u19_matlab_dir,startup_pipeline_matlab_dirandingest_scaninfo_scriptfromparams_config.py.default_preprocessing_toolanddefault_matlab_verfromslurm_creator.py. Nothing in the repo used them.Kept
datajoint_proj_dirand theget_root_directory()call inparams_config.py, becausecatgt_dir/catgt_scriptare built from them.this_diris kept too: the ParameterFiles, xyzPicksFiles and ChanMapFiles paths use it.module load matlab/R2024ain the ephys slurm scripts, and the MATLAB references inu19_pipeline/utility.py(see the issue).Comments
recording_handler.py: the two comments that said a MATLAB script handles and ingests the TiffSplits now sayAcquiredTiff.makedoes it.TiffSplitdefinition: the second, ordinary comment line now says the table is populated byAcquiredTiff.make. The table comment (the first#line) and all attribute lines are unchanged. DataJoint skips#lines after the first, and I checked that every definition in the file parses the same before and after (same table comment, same attribute lines).Left for a human decision
SlurmFiles/slurm_real.slurmandslurm_real_spock.slurm(the optional item in the issue) is not in this PR. It also affects the deployed checkout on u19proc, so someone should check that first.Noticed, not changed
catgt_dir/catgt_scriptinparams_config.pyaren't used anywhere in this repo either (ephys, not MATLAB). If they go,datajoint_proj_dirandget_root_directory()can go with them.Checks
grepforold_make,ingest_scaninfo,startup_pipeline_matlab_dir,u19_matlab_dir,default_preprocessing_toolanddefault_matlab_veracross the repo (code, docs, notebooks, tests,.github, crontab_example) finds nothing.ruff check --select F401,F821,F811on the four changed modules shows the same pre-existing findings before and after, with no new undefined or unused names.py_compilepasses.uvx prek run --all-files: only the 4 known EXE001 findings, which come from the bucket mount dropping exec bits.