2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
3 * Copyright (C) 2014 The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3
10 * of the License, or (at your option) any later version.
12 * Jalview is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19 * The Jalview Authors are detailed in the 'AUTHORS' file.
23 import jalview.ws.dbsources.das.api.DasSourceRegistryI;
24 import jalview.ws.dbsources.das.datamodel.DasSourceRegistry;
26 import java.awt.Color;
27 import java.io.BufferedReader;
29 import java.io.FileInputStream;
30 import java.io.FileOutputStream;
31 import java.io.InputStream;
32 import java.io.InputStreamReader;
33 import java.text.DateFormat;
34 import java.text.SimpleDateFormat;
35 import java.util.Date;
36 import java.util.Properties;
38 import org.apache.log4j.ConsoleAppender;
39 import org.apache.log4j.Level;
40 import org.apache.log4j.Logger;
41 import org.apache.log4j.SimpleLayout;
44 * Stores and retrieves Jalview Application Properties Lists and fields within
45 * list entries are separated by '|' symbols unless otherwise stated (|) clauses
46 * are alternative values for a tag. <br>
48 * Current properties include:
51 * logs.Axis.Level - one of the stringified Levels for log4j controlling the
52 * logging level for axis (used for web services) <br>
54 * <li>logs.Castor.Level - one of the stringified Levels for log4j controlling
55 * the logging level for castor (used for serialization) <br>
57 * <li>logs.Jalview.Level - Cache.log stringified level. <br>
59 * <li>SCREEN_WIDTH</li>
60 * <li>SCREEN_HEIGHT</li>
61 * <li>SCREEN_Y=285</li>
62 * <li>SCREEN_X=371</li>
63 * <li>SHOW_FULLSCREEN boolean</li>
64 * <li>FONT_NAME java font name for alignment text display</li>
65 * <li>FONT_SIZE size of displayed alignment text</li>
66 * <li>FONT_STYLE style of font displayed (sequence labels are always italic)</li>
67 * <li>GAP_SYMBOL character to treat as gap symbol (usually -,.,' ')</li>
68 * <li>LAST_DIRECTORY last directory for browsing alignment</li>
69 * <li>USER_DEFINED_COLOURS list of user defined colour scheme files</li>
70 * <li>SHOW_FULL_ID show id with '/start-end' numbers appended</li>
71 * <li>SHOW_IDENTITY show percentage identity annotation</li>
72 * <li>SHOW_QUALITY show alignment quality annotation</li>
73 * <li>SHOW_ANNOTATIONS show alignment annotation rows</li>
74 * <li>SHOW_CONSERVATION show alignment conservation annotation</li>
75 * <li>SORT_ANNOTATIONS currently either SEQUENCE_AND_LABEL or
76 * LABEL_AND_SEQUENCE</li>
77 * <li>SHOW_AUTOCALC_ABOVE true to show autocalculated annotations above
78 * sequence annotations</li>
79 * <li>CENTRE_COLUMN_LABELS centre the labels at each column in a displayed
81 * <li>DEFAULT_COLOUR default colour scheme to apply for a new alignment</li>
82 * <li>DEFAULT_FILE_FORMAT file format used to save</li>
83 * <li>STARTUP_FILE file loaded on startup (may be a fully qualified url)</li>
84 * <li>SHOW_STARTUP_FILE flag to control loading of startup file</li>
85 * <li>VERSION the version of the jalview build</li>
86 * <li>BUILD_DATE date of this build</li>
87 * <li>LATEST_VERSION the latest jalview version advertised on the
88 * www.jalview.org</li>
89 * <li>PIR_MODELLER boolean indicating if PIR files are written with MODELLER
91 * <li>(FASTA,MSF,PILEUP,CLUSTAL,BLC,PIR,PFAM)_JVSUFFIX boolean for adding jv
93 * <li>RECENT_URL list of recently retrieved URLs</li>
94 * <li>RECENT_FILE list of recently opened files</li>
95 * <li>USE_PROXY flag for whether a http proxy is to be used</li>
96 * <li>PROXY_SERVER the proxy</li>
98 * <li>NOQUESTIONNAIRES true to prevent jalview from checking the questionnaire
100 * <li>QUESTIONNAIRE last questionnaire:responder id string from questionnaire
102 * <li>USAGESTATS (false - user prompted) Enable google analytics tracker for
103 * collecting usage statistics</li>
104 * <li>DAS_LOCAL_SOURCE list of local das sources</li>
105 * <li>SHOW_OVERVIEW boolean for overview window display</li>
106 * <li>ANTI_ALIAS boolean for smooth fonts</li>
107 * <li>RIGHT_ALIGN_IDS boolean</li>
108 * <li>AUTO_CALC_CONSENSUS boolean for automatic recalculation of consensus</li>
109 * <li>PAD_GAPS boolean</li>
110 * <li>ID_ITALICS boolean</li>
111 * <li>SHOW_JV_SUFFIX</li>
112 * <li>WRAP_ALIGNMENT</li>
113 * <li>EPS_RENDERING (Prompt each time|Lineart|Text) default for EPS rendering
115 * <li>SORT_ALIGNMENT (No sort|Id|Pairwise Identity)</li>
116 * <li>SEQUENCE_LINKS list of name|URL pairs for opening a url with
118 * <li>GROUP_LINKS list of name|URL[|<separator>] tuples - see
119 * jalview.utils.GroupURLLink for more info</li>
120 * <li>DAS_REGISTRY_URL the registry to query</li>
121 * <li>DEFAULT_BROWSER for unix</li>
122 * <li>DAS_ACTIVE_SOURCE list of active sources</li>
123 * <li>SHOW_MEMUSAGE boolean show memory usage and warning indicator on desktop
125 * <li>VERSION_CHECK (true) check for the latest release version from
126 * www.jalview.org (or the alias given by the www.jalview.org property)</li>
127 * <li>SHOW_NPFEATS_TOOLTIP (true) show non-positional features in the Sequence
129 * <li>SHOW_DBREFS_TOOLTIP (true) show Database Cross References in the Sequence
131 * <li>SHOW_UNCONSERVED (false) only render unconserved residues - conserved
132 * displayed as '.'</li>
133 * <li>SORT_BY_TREE (false) sort the current alignment view according to the
134 * order of a newly displayed tree</li>
135 * <li>DBFETCH_USEPICR (false) use PICR to recover valid DB references from
136 * sequence ID strings before attempting retrieval from any datasource</li>
137 * <li>SHOW_GROUP_CONSENSUS (false) Show consensus annotation for groups in the
139 * <li>SHOW_GROUP_CONSERVATION (false) Show conservation annotation for groups
140 * in the alignment.</li>
141 * <li>SHOW_CONSENSUS_HISTOGRAM (false) Show consensus annotation row's
143 * <li>SHOW_CONSENSUS_LOGO (false) Show consensus annotation row's sequence
145 * <li>NORMALISE_CONSENSUS_LOGO (false) Show consensus annotation row's sequence
146 * logo normalised to row height rather than histogram height.</li>
147 * <li>FOLLOW_SELECTIONS (true) Controls whether a new alignment view should
148 * respond to selections made in other alignments containing the same sequences.
150 * <li>SHOW_WSDISCOVERY_ERRORS (true) Controls if the web service URL discovery
151 * warning dialog box is displayed.</li>
152 * <li>ANNOTATIONCOLOUR_MIN (orange) Shade used for minimum value of annotation
153 * when shading by annotation</li>
154 * <li>ANNOTATIONCOLOUR_MAX (red) Shade used for maximum value of annotation
155 * when shading by annotation</li>
156 * <li>www.jalview.org (http://www.jalview.org) a property enabling all HTTP
157 * requests to be redirected to a mirror of http://www.jalview.org</li>
159 * <li>FIGURE_AUTOIDWIDTH (false) Expand the left hand column of an exported
160 * alignment figure to accommodate even the longest sequence ID or annotation
162 * <li>FIGURE_FIXEDIDWIDTH Specifies the width to use for the left-hand column
163 * when exporting an alignment as a figure (setting FIGURE_AUTOIDWIDTH to true
164 * will override this).</li>
168 * Deprecated settings:
171 * <li>DISCOVERY_START - Boolean - controls if discovery services are queried on
172 * startup (JWS1 services only)</li>
173 * <li>DISCOVERY_URLS - comma separated list of Discovery Service endpoints.
174 * (JWS1 services only)</li>
175 * <li>SHOW_JWS1_SERVICES (true) enable or disable the original Jalview 2
176 * services in the desktop GUI</li>
177 * <li>ENABLE_RSBS_EDITOR (false for 2.7 release) enable or disable RSBS editing
178 * panel in web service preferences</li>
182 * @version $Revision$
187 * property giving log4j level for CASTOR loggers
189 public static final String CASTORLOGLEVEL = "logs.Castor.level";
192 * property giving log4j level for AXIS loggers
194 public static final String AXISLOGLEVEL = "logs.Axis.level";
197 * property giving log4j level for Jalview Log
199 public static final String JALVIEWLOGLEVEL = "logs.Jalview.level";
201 public static final String DAS_LOCAL_SOURCE = "DAS_LOCAL_SOURCE";
203 public static final String DAS_REGISTRY_URL = "DAS_REGISTRY_URL";
205 public static final String DAS_ACTIVE_SOURCE = "DAS_ACTIVE_SOURCE";
208 * Initialises the Jalview Application Log
210 public static Logger log;
212 /** Jalview Properties */
213 public static Properties applicationProperties = new Properties();
215 /** Default file is ~/.jalview_properties */
216 static String propertiesFile;
218 private static boolean propsAreReadOnly = false;
220 public static void initLogger()
228 // TODO: redirect stdout and stderr here in order to grab the output of
231 ConsoleAppender ap = new ConsoleAppender(new SimpleLayout(),
233 ap.setName("JalviewLogger");
234 org.apache.log4j.Logger.getRootLogger().addAppender(ap); // catch all for
236 Logger laxis = Logger.getLogger("org.apache.axis");
237 Logger lcastor = Logger.getLogger("org.exolab.castor");
238 jalview.bin.Cache.log = Logger.getLogger("jalview.bin.Jalview");
240 laxis.setLevel(Level.toLevel(Cache.getDefault("logs.Axis.Level",
241 Level.INFO.toString())));
242 lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
243 Level.INFO.toString())));
244 lcastor = Logger.getLogger("org.exolab.castor.xml");
245 lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
246 Level.INFO.toString())));
247 // lcastor = Logger.getLogger("org.exolab.castor.xml.Marshaller");
248 // lcastor.setLevel(Level.toLevel(Cache.getDefault("logs.Castor.Level",
249 // Level.INFO.toString())));
250 jalview.bin.Cache.log.setLevel(Level.toLevel(Cache.getDefault(
251 "logs.Jalview.level", Level.INFO.toString())));
252 // laxis.addAppender(ap);
253 // lcastor.addAppender(ap);
254 // jalview.bin.Cache.log.addAppender(ap);
255 // Tell the user that debug is enabled
256 jalview.bin.Cache.log.debug("Jalview Debugging Output Follows.");
257 } catch (Exception ex)
259 System.err.println("Problems initializing the log4j system\n");
260 ex.printStackTrace(System.err);
264 /** Called when Jalview is started */
265 public static void loadProperties(String propsFile)
267 propertiesFile = propsFile;
268 if (propsFile == null)
270 propertiesFile = System.getProperty("user.home") + File.separatorChar
271 + ".jalview_properties";
275 // don't corrupt the file we've been given.
276 propsAreReadOnly = true;
284 fis = new java.net.URL(propertiesFile).openStream();
285 System.out.println("Loading jalview properties from : "
288 .println("Disabling Jalview writing to user's local properties file.");
289 propsAreReadOnly = true;
291 } catch (Exception ex)
297 fis = new FileInputStream(propertiesFile);
299 applicationProperties.load(fis);
301 // remove any old build properties
303 deleteBuildProperties();
305 } catch (Exception ex)
307 System.out.println("Error reading properties file: " + ex);
310 if (getDefault("USE_PROXY", false))
312 String proxyServer = getDefault("PROXY_SERVER", ""), proxyPort = getDefault(
313 "PROXY_PORT", "8080");
315 System.out.println("Using proxyServer: " + proxyServer
316 + " proxyPort: " + proxyPort);
318 System.setProperty("http.proxyHost", proxyServer);
319 System.setProperty("http.proxyPort", proxyPort);
322 // LOAD THE AUTHORS FROM THE authors.props file
325 String authorDetails = "jar:".concat(Cache.class
326 .getProtectionDomain().getCodeSource().getLocation()
327 .toString().concat("!/authors.props"));
329 java.net.URL localJarFileURL = new java.net.URL(authorDetails);
331 InputStream in = localJarFileURL.openStream();
332 applicationProperties.load(in);
334 } catch (Exception ex)
336 System.out.println("Error reading author details: " + ex);
337 applicationProperties.remove("AUTHORS");
338 applicationProperties.remove("AUTHORFNAMES");
339 applicationProperties.remove("YEAR");
342 // FIND THE VERSION NUMBER AND BUILD DATE FROM jalview.jar
343 // MUST FOLLOW READING OF LOCAL PROPERTIES FILE AS THE
344 // VERSION MAY HAVE CHANGED SINCE LAST USING JALVIEW
347 String buildDetails = "jar:".concat(Cache.class.getProtectionDomain()
348 .getCodeSource().getLocation().toString()
349 .concat("!/.build_properties"));
351 java.net.URL localJarFileURL = new java.net.URL(buildDetails);
353 InputStream in = localJarFileURL.openStream();
354 applicationProperties.load(in);
356 } catch (Exception ex)
358 System.out.println("Error reading build details: " + ex);
359 applicationProperties.remove("VERSION");
362 String jnlpVersion = System.getProperty("jalview.version");
363 String codeVersion = getProperty("VERSION");
365 if (codeVersion == null)
367 // THIS SHOULD ONLY BE THE CASE WHEN TESTING!!
368 codeVersion = "Test";
369 jnlpVersion = "Test";
372 System.out.println("Jalview Version: " + codeVersion);
374 // jnlpVersion will be null if we're using InstallAnywhere
375 // Dont do this check if running in headless mode
376 if (jnlpVersion == null
377 && getDefault("VERSION_CHECK", true)
378 && (System.getProperty("java.awt.headless") == null || System
379 .getProperty("java.awt.headless").equals("false")))
382 class VersionChecker extends Thread
386 String orgtimeout = System
387 .getProperty("sun.net.client.defaultConnectTimeout");
388 if (orgtimeout == null)
391 System.out.println("# INFO: Setting default net timeout to "
392 + orgtimeout + " seconds.");
394 String jnlpVersion = null;
397 System.setProperty("sun.net.client.defaultConnectTimeout",
399 java.net.URL url = new java.net.URL(Cache.getDefault(
400 "www.jalview.org", "http://www.jalview.org")
401 + "/webstart/jalview.jnlp");
402 BufferedReader in = new BufferedReader(new InputStreamReader(
405 while ((line = in.readLine()) != null)
407 if (line.indexOf("jalview.version") == -1)
412 line = line.substring(line.indexOf("value=") + 7);
413 line = line.substring(0, line.lastIndexOf("\""));
417 } catch (Exception ex)
420 .println("Non-fatal exceptions when checking version at www.jalview.org :");
421 System.out.println(ex);
422 jnlpVersion = getProperty("VERSION");
424 System.setProperty("sun.net.client.defaultConnectTimeout",
427 setProperty("LATEST_VERSION", jnlpVersion);
431 VersionChecker vc = new VersionChecker();
436 if (jnlpVersion != null)
438 setProperty("LATEST_VERSION", jnlpVersion);
442 applicationProperties.remove("LATEST_VERSION");
446 setProperty("VERSION", codeVersion);
448 // LOAD USERDEFINED COLOURS
449 jalview.gui.UserDefinedColours
450 .initUserColourSchemes(getProperty("USER_DEFINED_COLOURS"));
451 jalview.io.PIRFile.useModellerOutput = Cache.getDefault("PIR_MODELLER",
455 private static void deleteBuildProperties()
457 applicationProperties.remove("LATEST_VERSION");
458 applicationProperties.remove("VERSION");
459 applicationProperties.remove("AUTHORS");
460 applicationProperties.remove("AUTHORFNAMES");
461 applicationProperties.remove("YEAR");
465 * Gets Jalview application property of given key. Returns null if key not
471 * @return Property value
473 public static String getProperty(String key)
475 return applicationProperties.getProperty(key);
479 * These methods are used when checking if the saved preference is different
480 * to the default setting
483 public static boolean getDefault(String property, boolean def)
485 String string = getProperty(property);
488 def = Boolean.valueOf(string).booleanValue();
495 * These methods are used when checking if the saved preference is different
496 * to the default setting
498 public static String getDefault(String property, String def)
500 String string = getProperty(property);
510 * Stores property in the file "HOME_DIR/.jalview_properties"
515 * String value of property
517 * @return String value of property
519 public static String setProperty(String key, String obj)
524 applicationProperties.setProperty(key, obj);
525 if (!propsAreReadOnly)
527 FileOutputStream out = new FileOutputStream(propertiesFile);
528 applicationProperties.store(out, "---JalviewX Properties File---");
531 } catch (Exception ex)
533 System.out.println("Error setting property: " + key + " " + obj
540 * remove the specified property from the jalview properties file
544 public static void removeProperty(String string)
546 applicationProperties.remove(string);
551 * save the properties to the jalview properties path
553 public static void saveProperties()
555 if (!propsAreReadOnly)
559 FileOutputStream out = new FileOutputStream(propertiesFile);
560 applicationProperties.store(out, "---JalviewX Properties File---");
562 } catch (Exception ex)
564 System.out.println("Error saving properties: " + ex);
570 * internal vamsas class discovery state
572 private static int vamsasJarsArePresent = -1;
575 * Searches for vamsas client classes on class path.
577 * @return true if vamsas client is present on classpath
579 public static boolean vamsasJarsPresent()
581 if (vamsasJarsArePresent == -1)
585 if (jalview.jbgui.GDesktop.class.getClassLoader().loadClass(
586 "uk.ac.vamsas.client.VorbaId") != null)
588 jalview.bin.Cache.log
589 .debug("Found Vamsas Classes (uk.ac..vamsas.client.VorbaId can be loaded)");
590 vamsasJarsArePresent = 1;
591 Logger lvclient = Logger.getLogger("uk.ac.vamsas");
592 lvclient.setLevel(Level.toLevel(Cache.getDefault(
593 "logs.Vamsas.Level", Level.INFO.toString())));
595 lvclient.addAppender(log.getAppender("JalviewLogger"));
596 // Tell the user that debug is enabled
597 lvclient.debug("Jalview Vamsas Client Debugging Output Follows.");
599 } catch (Exception e)
601 vamsasJarsArePresent = 0;
602 jalview.bin.Cache.log.debug("Vamsas Classes are not present");
605 return (vamsasJarsArePresent > 0);
609 * internal vamsas class discovery state
611 private static int groovyJarsArePresent = -1;
614 * Searches for vamsas client classes on class path.
616 * @return true if vamsas client is present on classpath
618 public static boolean groovyJarsPresent()
620 if (groovyJarsArePresent == -1)
624 if (Cache.class.getClassLoader().loadClass(
625 "groovy.lang.GroovyObject") != null)
627 jalview.bin.Cache.log
628 .debug("Found Groovy (groovy.lang.GroovyObject can be loaded)");
629 groovyJarsArePresent = 1;
630 Logger lgclient = Logger.getLogger("groovy");
631 lgclient.setLevel(Level.toLevel(Cache.getDefault(
632 "logs.Groovy.Level", Level.INFO.toString())));
634 lgclient.addAppender(log.getAppender("JalviewLogger"));
635 // Tell the user that debug is enabled
636 lgclient.debug("Jalview Groovy Client Debugging Output Follows.");
640 groovyJarsArePresent = 0;
641 jalview.bin.Cache.log.debug("Groovy Classes are not present", e);
642 } catch (Exception e)
644 groovyJarsArePresent = 0;
645 jalview.bin.Cache.log.debug("Groovy Classes are not present");
648 return (groovyJarsArePresent > 0);
652 * GA tracker object - actually JGoogleAnalyticsTracker null if tracking not
655 protected static Object tracker = null;
657 protected static Class trackerfocus = null;
659 protected static Class jgoogleanalyticstracker = null;
662 * Initialise the google tracker if it is not done already.
664 public static void initGoogleTracker()
668 if (jgoogleanalyticstracker == null)
670 // try to get the tracker class
673 jgoogleanalyticstracker = Cache.class
676 "com.boxysystems.jgoogleanalytics.JGoogleAnalyticsTracker");
677 trackerfocus = Cache.class.getClassLoader().loadClass(
678 "com.boxysystems.jgoogleanalytics.FocusPoint");
679 } catch (Exception e)
681 log.debug("com.boxysystems.jgoogleanalytics package is not present - tracking not enabled.");
683 jgoogleanalyticstracker = null;
688 // now initialise tracker
689 Exception re = null, ex = null;
691 String vrs = "No Version Accessible";
694 // Google analytics tracking code for Library Finder
695 tracker = jgoogleanalyticstracker.getConstructor(new Class[]
696 { String.class, String.class, String.class }).newInstance(
700 (vrs = jalview.bin.Cache.getProperty("VERSION")
702 + jalview.bin.Cache.getDefault("BUILD_DATE",
703 "unknown")), "UA-9060947-1" });
704 jgoogleanalyticstracker.getMethod("trackAsynchronously",
706 { trackerfocus }).invoke(tracker, new Object[]
707 { trackerfocus.getConstructor(new Class[]
708 { String.class }).newInstance(new Object[]
709 { "Application Started." }) });
710 } catch (RuntimeException e)
713 } catch (Exception e)
720 if (re != null || ex != null || err != null)
726 log.debug("Caught runtime exception in googletracker init:", re);
731 "Failed to initialise GoogleTracker for Jalview Desktop with version "
737 "Whilst initing GoogleTracker for Jalview Desktop version "
746 .println("Debug: Caught runtime exception in googletracker init:"
748 re.printStackTrace();
753 .println("Warning: Failed to initialise GoogleTracker for Jalview Desktop with version "
755 ex.printStackTrace();
761 .println("ERROR: Whilst initing GoogleTracker for Jalview Desktop version "
763 err.printStackTrace();
769 log.debug("Successfully initialised tracker.");
775 * get the user's default colour if available
781 public static Color getDefaultColour(String property, Color defcolour)
783 String colprop = getProperty(property);
788 Color col = jalview.schemes.ColourSchemeProperty
789 .getAWTColorFromName(colprop);
794 col = new jalview.schemes.UserColourScheme(colprop).findColour('A');
795 } catch (Exception ex)
797 log.warn("Couldn't parse '" + colprop + "' as a colour for "
802 return (col == null) ? defcolour : col;
806 * store a colour as a Jalview user default property
811 public static void setColourProperty(String property, Color colour)
813 setProperty(property, jalview.util.Format.getHexString(colour));
816 public static final DateFormat date_format = SimpleDateFormat
817 .getDateTimeInstance();
820 * store a date in a jalview property
825 public static void setDateProperty(String property, Date time)
827 setProperty(property, date_format.format(time));
831 * read a date stored in a jalview property
834 * @return valid date as stored by setDateProperty, or null
837 public static Date getDateProperty(String property)
839 String val = getProperty(property);
844 return date_format.parse(val);
845 } catch (Exception ex)
847 System.err.println("Invalid or corrupt date in property '"
848 + property + "' : value was '" + val + "'");
855 * get and parse a property as an integer. send any parsing problems to
859 * @return null or Integer
861 public static Integer getIntegerProperty(String property)
863 String val = getProperty(property);
864 if (val != null && (val = val.trim()).length() > 0)
868 return Integer.valueOf(val);
869 } catch (NumberFormatException x)
871 System.err.println("Invalid integer in property '" + property
872 + "' (value was '" + val + "')");
878 private static DasSourceRegistryI sourceRegistry = null;
883 * @return instance of the das source registry
885 public static DasSourceRegistryI getDasSourceRegistry()
887 if (sourceRegistry == null)
889 sourceRegistry = new DasSourceRegistry();
891 return sourceRegistry;