Index: /trunk/psastro/src/psastroLoadRefstars.c
===================================================================
--- /trunk/psastro/src/psastroLoadRefstars.c	(revision 20318)
+++ /trunk/psastro/src/psastroLoadRefstars.c	(revision 20319)
@@ -88,5 +88,4 @@
     // supply the max magnitude, the output format, and the photcode
     if (strcasecmp (photcode, "NONE")) {
-
         psStringAppend (&getstarCommand, " -photcode %s -minmag %f -max-density %f", photcode, minMag, maxRho);
     }
@@ -238,6 +237,7 @@
     pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, "PSASTRO.INPUT");
     if (!input) {
-	psError(PSASTRO_ERR_CONFIG, true, "Can't find input data");
-	return NULL;
+	psLogMsg ("psastro", PS_LOG_DETAIL, "no supplied reference header data");
+	photcode = psStringCopy ("NONE");
+	return photcode;
     }
     assert (input->fpa);
