瀏覽代碼

RO-2766: allow 2 residue motifs

Sebastian Bittrich 3 年之前
父節點
當前提交
d799f8ea65
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;