Parcourir la source

RO-2766: allow 2 residue motifs

Sebastian Bittrich il y a 3 ans
Parent
commit
d799f8ea65
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/viewer/ui/strucmotif.tsx

+ 1 - 1
src/viewer/ui/strucmotif.tsx

@@ -29,7 +29,7 @@ import { ViewerState } from '../types';
 const ABSOLUTE_ADVANCED_SEARCH_URL = 'https://rcsb.org/search?query=';
 const RELATIVE_ADVANCED_SEARCH_URL = '/search?query=';
 const RETURN_TYPE = '&return_type=assembly';
-const MIN_MOTIF_SIZE = 3;
+const MIN_MOTIF_SIZE = 2;
 const MAX_MOTIF_SIZE = 10;
 export const MAX_EXCHANGES = 4;
 const MAX_MOTIF_EXTENT = 15;