Update Verify a CRC1280 import authored by Anusha Ranganathan's avatar Anusha Ranganathan
---
title: Verify a CRC1280 import
---
To run the rake task from the rails console
Start the rails console
```
docker exec -it rdms_web_1 /bin/bash
bundle exec rails c
```
## Run the verification
The verification can be run for an entire import, or for each experiment in the import. It will generate a CSV report, one for each experiment.
### Run the verification for each experiment
* To verify the import for each verification, we need two parameters
* import_id - This can be obtained from the url of an import
For example: for https://rdms.cottagelabs.com/importers/49?locale=en `import_id=49`
* Import id for the experiment (entry_id)
The experiments (works) are displayed in [Work Entries](https://rdms.cottagelabs.com/importers/49?locale=en#work-entries) tab in the import UI
Each entry has an **Entry Id** as shown in the image
![image](https://gitlab.ruhr-uni-bochum.de/-/project/864/uploads/6105789a5a5138db3b2c1c285c198a0d/Screenshot_2024-12-04_at_04.04.29.png)
`entry_id = 20409`
* Verify the import for each experiment
```
experiment_status, report_path = > .verify_experiment_and_report(49, 20409)
```
> [true, "/shared/downloads/analysis_report_49_20409_12-03_21-23-11.csv"]
```
experiment_status, report_path = VerifyCRCDatasetImport.verify_experiment_and_report(49, 20410)
```
> [false, "/shared/downloads/analysis_report_49_20410_12-03_21-23-20.csv"]
* The method returns the verification status and the path to the full csv report.
* The report name has the import id, the entry id and the timestamp of when the report was created
* Example report
* [Report for entry 20409](https://gitlab.ruhr-uni-bochum.de/-/project/864/uploads/4d09369313ca5f08e9d08d13570ff2db/analysis_report_49_20409_12-03_21-23-11.csv)
* [Report for entry 20410](https://gitlab.ruhr-uni-bochum.de/-/project/864/uploads/e1e8a22d51c176721c4455664b6aa6f6/analysis_report_49_20410_12-03_21-23-20.csv)
* The first row of the report has all of the different ids or paths used in the comparison
* The subsequent rows are file paths, and their outcome
\ No newline at end of file