cproctor / qualitative-coding

Qualitative coding for computer scientists
Other
11 stars 3 forks source link

External QDPX files not handled correctly. #71

Open cproctor opened 2 weeks ago

cproctor commented 2 weeks ago

There is an incompatibility between the REFI-QDA standard and qc's implementation. I have added a small sample project exported from Nvivo to the repository at qualitative_coding/refi_qda/nvivo_project.qdpx. It should be possible to import this project to qc as follows:

cd ~/Desktop
git clone https://github.com/cproctor/qualitative-coding.git
mkdir qc_import_test
cd qc_import_test
qc init --import ../qualitative-coding/qualitative_coding/refi_qda/nvivo_project.qdpx

However, this will fail. Please diagnose why this is failing, and propose fixes to qc's REFI-QDA reader and writer. We'll discuss the proposed fix, and then I will ask you to go ahead and implement it.

cproctor commented 2 weeks ago

I believe the main problem is that I have implemented Source Paths (REFI-QDA Standard, section 8.3) incorrectly, but I don't remember 100%. It may be helpful to unzip nvivo_project.qdpx, look at the XML file inside, and compare it to the XML produced by a project exported from qc. You could also add print-debug statements to the qualitative_coding.refi_qda.reader.REFIQDAReader.