Explorar el Código

fixed dics build path of cifschema app

Alexander Rose hace 5 años
padre
commit
e34aad991b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/apps/cifschema/index.ts

+ 1 - 1
src/apps/cifschema/index.ts

@@ -159,7 +159,7 @@ async function ensureDicAvailable(dicPath: string, dicUrl: string) {
     }
 }
 
-const DIC_DIR = path.resolve(__dirname, '../dics/')
+const DIC_DIR = path.resolve(__dirname, '../../../build/dics/')
 const MMCIF_DIC_PATH = `${DIC_DIR}/mmcif_pdbx_v50.dic`
 const MMCIF_DIC_URL = 'http://mmcif.wwpdb.org/dictionaries/ascii/mmcif_pdbx_v50.dic'
 const IHM_DIC_PATH = `${DIC_DIR}/ihm-extension.dic`