ccp4.spec.ts 578 B

123456789101112131415161718192021222324
  1. /**
  2. * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author Alexander Rose <alexander.rose@weirdbyte.de>
  5. */
  6. import * as CCP4 from '../ccp4/parser'
  7. const ccp4Buffer = new Uint8Array(4 * 64)
  8. describe('ccp4 reader', () => {
  9. it('basic', async () => {
  10. const parsed = await CCP4.parse(ccp4Buffer).run();
  11. if (parsed.isError) {
  12. console.log(parsed)
  13. return;
  14. }
  15. // const ccp4File = parsed.result;
  16. // const { header, values } = ccp4File;
  17. // TODO
  18. });
  19. });