However when I run this script, I get an error message which reads:
"Error: The following variables cannot be both latent and manifest: 'a6e', 'a6f', 'a6g', 'a6h', 'a5aa', 'a5ab', 'a5ac', 'a5ad', 'b4a', 'b4b', 'b4c', 'b4d', 'a9aa', 'a9ab', 'a9ac', 'a9ad' "

I do not understand where I have treated these as latent variables rather than as manifests.